This is a project to learn Lifecycle of Activity and Fragment.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
gradle/wrapper
images
.gitignore
LICENSE.txt
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

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.