简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM