A collection of samples using the Architecture Components:
- Lifecycle-aware components
The Architecture Components and these samples are previews to gather developer feedback. Samples may not be fully featured, documented or tested and could be modified or deleted in the future.
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. Requires Android Studio 3.0 canary 1
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.
Other Architecture Components Samples
- Architecture Blueprints - todo-mvvm-live - Variant of the to-do app that uses ViewModels, LiveData and Data Binding with an MVVM architecture.
- Architecture Blueprints - todo-mvp-room - Variant of the to-do app that uses Room as a local data source with an MVP architecture.
Copyright 2015 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
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.
- BaseAdapterHelper xUtils Android-Universal-Image-Loader Jave Proxy Dagger cling 公共技术点之 Android 动画基础 ViewPagerIndicator Side Menu.Android PhotoView 公共技术点之 View 绘制流程 NineOldAnimations Volley PagerSlidingTabStrip 公共技术点之 View 事件传递 CircularFloatingActionMenu discreteSeekBar android-lockpattern 公共技术点之 Java 反射 Reflection HoloGraphLibrary 公共技术点之依赖注入 公共技术点之 Java 注解 Annotation DynamicLoadApk android-Ultra-Pull-To-Refresh CalendarListView SlidingMenu EventBus