All Projects → pszklarska → Livedatabinding

pszklarska / Livedatabinding

Licence: mit
Kotlin example with LiveData and Data Binding usage

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Livedatabinding

KTAndroidArchitecture
A Kotlin android architecture with Google Architecture Components
Stars: ✭ 33 (-69.44%)
Mutual labels:  databinding, livedata, architecture-components
Movieapp Clean Architecture
Learning Project (Movie App) For Applying Android Architecture Components And Clean Architecture Using MVVM With Kotlin
Stars: ✭ 123 (+13.89%)
Mutual labels:  architecture-components, livedata, databinding
LiveData-DataBinding-Kotlin
Sample to practice LiveData + DataBinding
Stars: ✭ 89 (-17.59%)
Mutual labels:  databinding, livedata, architecture-components
Mvvmframe
🏰 MVVMFrame for Android 是一个基于Google官方推出的Architecture Components dependencies(现在叫JetPack){ Lifecycle,LiveData,ViewModel,Room } 构建的快速开发框架。有了MVVMFrame的加持,从此构建一个MVVM模式的项目变得快捷简单。
Stars: ✭ 218 (+101.85%)
Mutual labels:  architecture-components, livedata, databinding
Wanandroid
🏄 基于Architecture Components dependencies (Lifecycles,LiveData,ViewModel,Room)构建的WanAndroid开源项目。 你值得拥有的MVVM快速开发框架:https://github.com/jenly1314/MVVMFrame
Stars: ✭ 410 (+279.63%)
Mutual labels:  architecture-components, livedata, databinding
Jetpack Mvvm Best Practice
是 难得一见 的 Jetpack MVVM 最佳实践!在 以简驭繁 的代码中,对 视图控制器 乃至 标准化开发模式 形成正确、深入的理解!
Stars: ✭ 6,950 (+6335.19%)
Mutual labels:  livedata, databinding
Base Mvvm
App built to showcase basic Android View components like ViewPager, RecyclerView(homogeneous and heterogeneous items), NavigationDrawer, Animated Vector Drawables, Collapsing Toolbar Layout etc. housed in a MVVM architecture
Stars: ✭ 18 (-83.33%)
Mutual labels:  architecture-components, livedata
Kodein Mvvm
Example app using Kodein for dependency injection with MVVM and Architecture Components
Stars: ✭ 26 (-75.93%)
Mutual labels:  architecture-components, databinding
Readhubclient
Readhub客户端
Stars: ✭ 44 (-59.26%)
Mutual labels:  architecture-components, livedata
Lives
Lives - Android LiveData Extensions for Kotlin and Java
Stars: ✭ 509 (+371.3%)
Mutual labels:  architecture-components, livedata
Blockchain Tracker
A blockchain market tracking app. Example implementation of reactive clean architecture and testing.
Stars: ✭ 30 (-72.22%)
Mutual labels:  architecture-components, databinding
Food Ordering App Like Swiggy Uber Eats Mvvm And Room Database
Food ordering app using MVVM architecture patterns, Architecture Lifecycle components and Room database.
Stars: ✭ 53 (-50.93%)
Mutual labels:  architecture-components, livedata
Reactive Mvvm Android
My way to MVVM using KotlinX Coroutines and Android data-binding
Stars: ✭ 626 (+479.63%)
Mutual labels:  architecture-components, livedata
Changedetection
Automatically track websites changes on Android in background.
Stars: ✭ 563 (+421.3%)
Mutual labels:  architecture-components, livedata
Price Tracker
Price Tracking Application - An experimental Kotlin Android project with complex android app requirements.
Stars: ✭ 80 (-25.93%)
Mutual labels:  architecture-components, livedata
Archapp
Simple Android app to show how to design a multi-modules MVVM Android app (fully tested)
Stars: ✭ 551 (+410.19%)
Mutual labels:  architecture-components, databinding
Wanandroid
Jetpack MVVM For Wanandroid 最佳实践 !
Stars: ✭ 1,004 (+829.63%)
Mutual labels:  livedata, databinding
Jetpackmvvm
🐔🏀一个Jetpack结合MVVM的快速开发框架,基于MVVM模式集成谷歌官方推荐的JetPack组件库:LiveData、ViewModel、Lifecycle、Navigation组件 使用Kotlin语言,添加大量拓展函数,简化代码 加入Retrofit网络请求,协程,帮你简化各种操作,让你快速开发项目
Stars: ✭ 1,100 (+918.52%)
Mutual labels:  livedata, databinding
Tdcapp
Sample app which access the TDC (The Developer's Conference) REST API.
Stars: ✭ 55 (-49.07%)
Mutual labels:  architecture-components, livedata
Githubprojectbrowser
This is a sample Android Project that is based on Clean Architecture
Stars: ✭ 64 (-40.74%)
Mutual labels:  architecture-components, livedata

LiveDataBinding

Example showing how to use LiveData with Data Binding by using support introduced in Android Studio 3.1 Canary 6. You can read more here in my blogpost: Architecture Components: How to use LiveData with Data Binding?

Gettings Started

To use this project, you need to have proper version of Android Studio and Android Gradle plugin.

Android Studio

Android Studio in version 3.1 Canary 6 (at least). You can check your version and possible updates by clicking Help -> Check for Update (on Mac, Android Studio -> Check for Updates).

Android Gradle plugin

To use LiveData with Data Binding in your project, you need also upgrade Android Gradle plugin version in your app/build.gradle file:

buildscript {
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.0-alpha06'
    }
}

If you use Kotlin, you need to change this version also for Data Binding compiler:

kapt 'com.android.databinding:compiler:3.1.0-alpha06'

Usage

Project has three layers:

  • Model - package containing a simply Kitty class
  • View - package containing an activity showing kitty name and age <wow>
  • ViewModel - package containing KittyRepository class that simulates getting new kitties every minute

Author

Contributing

All pull requests are welcome!

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].