A collection of samples using the Android Data Binding Library:
- BasicSample - (Kotlin) Shows basic usage of layout expressions, binding adapters, and integration with ViewModels.
- TwoWaySample - (Kotlin) Shows usage of two-way data binding, advanced Binding Adapters, animations, converters and inverse converters.
- Android Architecture Blueprints (todo-mvvm-databinding branch) - Shows basic Data Binding usage with the Model‑View‑ViewModel pattern.
- Android Sunflower - A gardening app illustrating Android development best practices with Android Jetpack, including Data Binding.
You can report an Issue 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. If it's related to the Android Studio integration, report it using the Android Studio issue tracker.
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.