Learn how to create a simple, native Android application using Kotlin. This third course in a four-part series focuses on lifecycle events, views at runtime, and navigation.
Overview
Syllabus
Introduction
- Let users explore your app
- What you should know
- Following along with the course
- Explore the activity lifecycle
- Trace lifecycle events
- Handle events with LifecycleObserver
- Handle view events with lambdas
- Explore ViewModels and LiveData
- Add a ViewModel to an Activity
- Store and publish data in a ViewModel
- Subscribe to changes in LiveData values
- ✓ Challenge: Take my order
- ✓ Solution: Take my order
- Add a new launcher activity
- Handle app communication with Intents
- Start activities with explicit Intents
- Display a button on the toolbar
- Share data with implicit Intents
- Add a navigation bar to a layout
- Add menu items to a navigation bar
- Handle navigation of menu events
- ✓ Challenge: Badge of honor
- ✓ Solution: Badge of honor
- Next Steps
Taught by
Eric Brynsvold