Arth Limchiu

07/12/2018, 9:46 AM
If you’ve been around in Android for quite a while, you probably know that managing an app’s lifecycle is quite a headache! Have you ever had these moments yourself?
Copy code
Should I put this code in onStart() or onResume()?
Should I put this code in onPause() or onStop()?
*Runs the app. Wait, why isn't it called?!
*Moves code to another lifecycle callback
Hi, all Just published a new article about the Lifecycle library found in Android Jetpack. Would be glad to hear your feedback. Source code can be found here: