Sign in Go Pro

Android Architecture Components - A Deep Dive

Why We Need a Lifecycle Component


Up next



Most of the components like Activity, Fragment defined in the Android Framework have their own lifecycle which is controlled by the framework and we must respect them to avoid memory leaks and crashes. But handling lifecycle is one of the biggest challenges when building Android apps which takes a lot of boilerplate code to handle.

In this lesson, we will look at a scenario of handling lifecycle and then see how lifecycle component solves the same with better-organized, lighter-weight code, which is easy to maintain and helps in building lifecycle-aware components.




Unfortunately, it is VERY hard to understand at the instructor says.
I saw this video 5 times, with speakers, and still I couldn't understand all the words he said.

Rodrigo, this lesson has English captions, did you enable them?

You need to go PRO to post comments.

Lessons in Android Architecture Components - A Deep Dive