android/architecture-components-samples
Fork: 8282 Star: 23441 (更新于 2024-11-04 06:35:32)
license: Apache-2.0
Language: Kotlin .
Samples for Android Architecture Components.
Android Architecture Components samples
A collection of samples using the Architecture Components:
Samples
-
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.
-
LiveDataSample - Shows how to integrate Kotlin coroutines with Architecture Components such as
LiveData
. -
ViewBindingSample - Shows how to use view bindings in an activity and in fragments.
-
WorkManagerSample - Shows how to use WorkManager to do background work, in Kotlin.
-
WorkManagerMultiprocessSample - Shows how to use WorkManager in apps that manage multiple processes.
Reporting Issues
You can report an Issue on the samples using this repository. If you find an issue with the Architecture Components, report it using the Architecture Components Issue Tracker
License
Copyright 2018 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
最近版本更新:(数据更新于 2024-09-07 15:05:50)
android/architecture-components-samples同语言 Kotlin最近更新仓库
2024-11-19 23:12:26 jellyfin/jellyfin-androidtv
2024-11-18 20:14:29 gkd-kit/gkd
2024-11-11 21:37:35 FooIbar/EhViewer
2024-11-01 20:22:27 EhViewer-NekoInverter/EhViewer
2024-11-01 16:15:30 tiann/KernelSU
2024-10-27 19:26:53 salvogiangri/KnoxPatch