Skip to content

Sample project that demonstrates concept of lifecycle observation.

Notifications You must be signed in to change notification settings

ersiver/sample-lifecycle

Repository files navigation

sample-lifecycle

This app was built following AndroidDevelopers Codelabs. The app demonstrates:

  • The activity and fragment lifecycles.
  • Concept of lifecycle observation.
  • Use of th lifecycle library to shift lifecycle control from the activity/fragment to the actual component that needs to be lifecycle-aware.
  • Preserving activity and fragment state (eg. Configuration changes or process shutdowns) with onSaveInstanceState.
  • Logs with Timber.
  • Uses of background thread for the timer, with Runnable and Handler classes.

License

Copyright 2019 Google, Inc (all resources are from AndroidDevelopers Codelabs).

About

Sample project that demonstrates concept of lifecycle observation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published