Skip to content

cascal/android-architecture-components

 
 

Repository files navigation

Android Architecture Components samples

A collection of samples using the Architecture Components:

  • Room
  • Lifecycle-aware components
  • ViewModels
  • LiveData

Samples

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

License

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

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%