Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Android Development Essential Training: Manage Data with Kotlin

via LinkedIn Learning

Overview

Learn how to build Android apps that store, manage, and display data in a variety of forms and formats, using Kotlin and the latest tools and best practices for Android developers.

Syllabus

Introduction
  • Mobile apps for a data-driven world
  • What you should know
1. Package Static Data in JSON Files
  • Check out the exercise files from GitHub
  • 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
2. Get Data from a Web Service
  • Acquire data in a repository class
  • Share data with LiveData objects
  • Network permissions and status
  • Add Retrofit and coroutine dependencies
  • Define a Retrofit interface
  • Retrieve remote data with Retrofit
3. Display Data in a RecyclerView
  • Add a RecyclerView to a fragment
  • Create a RecyclerView item layout
  • Create a RecyclerView adapter class
  • Display images dynamically with Glide
  • Add a dynamic background to data items
  • Refresh data with a swipe gesture
4. Display Selected Data Items
  • Handle RecyclerView click events
  • Create and navigate to a detail fragment
  • Add an Up button to a secondary fragment
  • Pass data in a shared ViewModel
  • Display details with data binding
  • Customize data bindings with an adapter
5. Read and Write Files
  • Save files to internal storage
  • Read files from internal storage
  • Manage permissions in a splash screen
  • Request external storage permissions
  • Save files to external storage
6. Manage SQLite Databases with Room
  • Define a database table with Room
  • Define SQL operations in a DAO interface
  • Define an SQLite database with Room
  • Insert and retrieve data with Room
7. Persist Data in Shared Preferences
  • Manage shared preferences with code
  • Use preferences to manage display
  • Create a shared preferences activity
  • Read default shared preferences
Conclusion
  • Next steps

Taught by

David Gassner

Reviews

4.9 rating at LinkedIn Learning based on 54 ratings

Start your review of Android Development Essential Training: Manage Data with Kotlin

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.