- Notifications
You must be signed in to change notification settings - Fork16
Samples for Android Architecture Components.
License
android/architecture-components-samples
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A collection of samples using theArchitecture 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 - Anadvanced 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 - Showshow to use ViewModels and Room together with RxJava, in Kotlin.
PagingSample - Showshow to use the Paging library with Room, in Kotlin.
PagingNetworkSample - Showshow to use the Paging library with a backend API via Retrofit, in Kotlin.
NavigationBasicSample - Showshow to use Navigation to perform navigation and deep linking in Kotlin.
NavigationAdvancedSample - Showshow to handle multiple back stacks with Navigation and a BottomNavigationView.
LiveDataSample - Showshow to integrate Kotlin coroutines with Architecture Components such as
LiveData
.ViewBindingSample - Shows how to use view bindings in an activity and in fragments.
WorkManagerSample - Showshow to use WorkManager to do background work, in Kotlin.
WorkManagerMultiprocessSample - Shows how to use WorkManager in apps that manage multiple processes.
You can report anIssue on the samples using this repository. If you find an issue with the Architecture Components, report it using theArchitecture Components Issue Tracker
Copyright 2018 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributorlicense agreements. See the NOTICE file distributed with this work foradditional information regarding copyright ownership. The ASF licenses thisfile to you under the Apache License, Version 2.0 (the "License"); you may notuse this file except in compliance with the License. You may obtain a copy ofthe License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS, WITHOUTWARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See theLicense for the specific language governing permissions and limitations underthe License.
About
Samples for Android Architecture Components.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.