Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/android/databinding-samples


https://github.com/android/databinding-samples

Last synced: 3 months ago
JSON representation

Lists

README

        

Android Data Binding Library samples
===================================

A collection of samples using the [Android Data Binding Library](https://developer.android.com/topic/libraries/data-binding/index.html):

### Samples

* **[BasicSample](https://github.com/googlesamples/android-databinding/blob/master/BasicSample)** - (Kotlin) Shows basic usage of layout expressions, binding adapters, and integration with ViewModels.
* **[TwoWaySample](https://github.com/googlesamples/android-databinding/blob/master/TwoWaySample)** - (Kotlin) Shows usage of two-way data binding, advanced Binding Adapters, animations, converters and inverse converters.

### Other official samples using Data Binding

* **[Android Architecture Blueprints (todo-mvvm-live-kotlin branch)](https://github.com/googlesamples/android-architecture/tree/todo-mvvm-live-kotlin/)** - Shows basic Data Binding usage with architecture best practices and Architecture Components, in Kotlin.
* **[Android Architecture Components Samples](https://github.com/googlesamples/android-architecture-components/tree/master/GithubBrowserSample)** - An advanced sample that uses the Architecture components, Dagger and the Github API, in Kotlin.
* **[Android Sunflower](https://github.com/googlesamples/android-sunflower)** - A gardening app illustrating Android development best practices with Android Jetpack, including Data Binding.

### Reporting Issues

You can report an [Issue](https://github.com/googlesamples/android-databinding/issues) on the samples using this repository. If you find an issue with the library related to build, report it using the [Gradle Plugin issue tracker](https://b.corp.google.com/issues/new?component=192709&template=842921). If it's related to the Android Studio integration, report it using the [Android Studio issue tracker](https://b.corp.google.com/issues/new?component=192708&template=840533).

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.