I am android developer, and I was faced with the task to try to "migrate" on "Codename one." Not at will. On Android there is a very clear description of the life cycle from Google. In Codename one as stating that the life cycle is more like a desktop application. And so I'm wondering if there is a stage of the life cycle of analogues, such as onPause and onSaveInstanceState in Codename one. Or will have to do an insert platform code?
Codename One has init/start/stop/destroy which are pretty similar although simpler than Androids lifecycle. stop() will be invoked to pause, start() will be reinvoked for resume.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With