Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Codename one application lifecycle

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?

like image 347
Siruk Viktor Avatar asked Aug 05 '26 16:08

Siruk Viktor


1 Answers

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.

like image 169
Shai Almog Avatar answered Aug 07 '26 06:08

Shai Almog



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!