Handling Lifecycles | Android Developers

Use the new Lifecycle classes to manage activity and fragment life cycles.