YoVDO

Android Development Essential Training: Manage Data with Kotlin

Offered By: LinkedIn Learning

Tags

Kotlin Courses Android Development Courses SQLite Courses JSON Courses Data Management Courses RecyclerView Courses

Course Description

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

Related Courses

Kotlin Bootcamp for Programmers
Google via Udacity
Введение в язык Котлин
St. Petersburg State Polytechnic University via Coursera
Kotlin for Java Developers
JetBrains via Coursera
Developing Android Apps with Kotlin
Google via Udacity
Advanced Android with Kotlin
Google via Udacity