Building User Screen Flows
This chapter covers the Android activity lifecycle and explains how the Android system interacts with your app. By the end of this chapter, you’ll have learned how to build user journeys through different screens. You’ll also be able to use activity tasks and launch modes, save and restore the state of your activity, use logs to report on your application, and share data between screens.
The previous chapter introduced you to the core elements of Android development, from configuring your app using the AndroidManifest.xml
file, working with simple activities, and the Android resource structure to building an app with gradle
and running an app on a virtual device.
In this chapter, you’ll go further and learn how the Android system interacts with your app through the Android lifecycle, how you are notified of changes to your app’s state, and how you can use the Android lifecycle to respond to these changes.
You’ll...