Is your Android Library, Lifecycle-Aware?
· ☕ 9 min read · ✍️ Nishant
Lifecycle events in Android. It has been a pain point for Android developers all over the world. It is no brainer that, most of the times the main cause of a memory leak in the codebase is because an invalid state is accessed which is out of sync with the lifecycle of the activity/fragment of the app.