/AndroidLifecycleTest

This is a project to learn Lifecycle of Activity and Fragment.

Primary LanguageJavaMIT LicenseMIT

Android Lifecycle Test

This is a project to learn about Lifecycle of Activity and Fragment.

Know about Lifecycle

You can see what methods are called in app logs when creating activities and fragments.
You should know what methods are called when rotating your device.
You can see instance ids of Activities, Fragments and Bundle.

images

Use in your project

Copy LifecycleActivity and LifecycleFragment in your project, then extend them in your activity or fragment.