In this video we have a look at one of the important APIs that are part of Jetpack - LifeCyclerOwner and LifeCycleObserver. LifeCyclerOwner is the class where life cycler methods gets called - which is typically either Activity or Fragment. Any class that implements LifeCycleObserver becomes LifeCycleObserver. In this video we looks to implement LifeCycleObserver and set that to a LifeCyclerOwner so that LifeCycleObserver, LifeCyclerOwner's call back methods.
Follow me on Twitter: / anilvdeshpande
Github link to source code: https://github.com/AnilDeshpande/Andr...