A collection of samples using the Architecture Components:
-
BasicSample - Shows how to persist data using a SQLite database and Room. Also uses ViewModels and LiveData.
-
PersistenceContentProviderSample - Shows how to expose data via a Content Provider using Room.
-
GithubBrowserSample - An advanced sample that uses the Architecture components, Dagger and the Github API, in Kotlin.
-
BasicRxJavaSample - Shows how to use Room with RxJava 2. Also uses ViewModels.
-
PersistenceMigrationsSample - Shows how to implement migrations in Room.
-
BasicRxJavaKotlinSample - Shows how to use ViewModels and Room together with RxJava, in Kotlin.
-
PagingSample - Shows how to use the Paging library with Room, in Kotlin.
-
PagingNetworkSample - Shows how to use the Paging library with a backend API via Retrofit, in Kotlin.
-
NavigationBasicSample - Shows how to use Navigation to perform navigation and deep linking in Kotlin.
-
NavigationAdvancedSample - Shows how to handle multiple back stacks with Navigation and a BottomNavigationView.
-
WorkManagerSample - Shows how to use WorkManager to do background work, in Kotlin.