Android Kotlin

Learn to architect and develop Android apps in the Kotlin programming language using industry-proven tools and libraries. You'll learn by building real Android apps using industry best practices, with modern app architecture. You'll use key Kotlin features to write your app code more quickly and concisely.

Create a fragment

Define navigation paths

emoji_objects
Codelab

In this codelab, you learn how to add navigation to your app. Learn how to use the navigation editor to define routes through your app; how to implement the Up button; how to add an options menu and how to implement a navigation drawer.

ViewModel and ViewModelProvider

LiveData and LiveData Observer

emoji_objects
Codelab

In this codelab, you learn how to convert an app's UI data (data to be displayed) into encapsulated LiveData. In the ViewModel objects, you add LiveData that communicates with the app's fragments. In the fragments, you add observer methods that are notified when the value of the LiveData is changed.

DataBinding with ViewModel and LiveData

emoji_objects
Codelab

In this codelab, you integrate LiveData and ViewModel with data binding so that the views in your layout communicate directly with ViewModel objects, without using the app's fragments to relay information. This simplifies your code and eliminates the need for click handlers in the UI controllers.

Creating a Room database

emoji_objects
Codelab

Learn how to use Room in your Android Kotlin apps. Room is a database library that's part of Android Jetpack. Room takes care of many of the chores of setting up and configuring a database, and makes it possible for your app to interact with the database using ordinary function calls.