Introduction
Build robust apps with Android app architecture
()
What you should know
()
Review the starting app
()
1. Handle and Manage Lifecycle Events
Explore the activity lifecycle
()
Trace lifecycle events with Logcat
()
Handle events with LifecycleObserver
()
2. Manage View Objects at Runtime
Work with synthetic view bindings
()
Get view references with findViewById()
()
Handle view events with lambdas
()
Create companion object functions
()
Update display from new data
()
Restore state after orientation change
()
Add a ViewModel to an activity
()
Subscribe to changes in LiveData values
()
3. Manage Navigation
Add a new launcher activity
()
Start activities with explicit intents
()
Display a Share button on the toolbar
()
Share data with implicit intents
()
Finish an activity with an up button
()
4. Work with Navigation Menus
Define an options menu with XML
()
Add a navigation drawer to a layout
()
Add icon graphics to menu items
()
Add a header to a navigation drawer
()
Handle navigation drawer menu events
()
Add a navigation toggle button
()