简体   繁体   中英

Is android's lifecycle callback's considered a “coroutine”?

用Java描述Android基于生命周期的许多回调(例如onsaveinstancestate协程)是否onsaveinstancestate

No. They're just normal functions, called on the main UI thread message queue at the appropriate times. They don't have any special yield functionality.

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