Learn about packaging, retrieving, and displaying data through dealing with persistent data and complex databases.
Overview
Syllabus
Introduction
- Developing data-driven apps
- What you should know
- Following along with the course
- Model an entity in a Kotlin data class
- Read files from resources
- Read files from assets
- Parse JSON strings with Moshi
- Map JSON and class property names
- Challenge: Show me the data!
- Solution: Show me the data!
- Share data with LiveData objects
- Explore HTTP clients
- Add Retrofit dependencies
- Define a Retrofit interface
- Retrieve remote data with Retrofit
- Explore RecyclerViews
- Add a RecyclerView to a fragment
- Create a RecyclerView item layout
- Create a RecyclerView adapter class
- Bind data in a RecyclerView ViewHolder
- Display images dynamically with Coil
- Challenge: Random pics
- Solution: Random pics
- Handle RecyclerView click events
- Navigate to a detail fragment
- Pass data in a shared ViewModel
- Challenge: Lights, camera, action
- Solution: Lights, camera, action
- Next steps
Taught by
Annyce Davis