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

https://github.com/vaibhavmojidra/android-java---demo-data-binding-with-livedata

LiveData is an observable data holder class. Unlike a regular observable, LiveData is lifecycle-aware, meaning it respects the lifecycle of other app components, such as activities, fragments, or services. Instead of viewmodel..observe and setting the value to view we can directly use in XML @{vm.obj}
https://github.com/vaibhavmojidra/android-java---demo-data-binding-with-livedata

android android-app androidarchitecturecomponets androidjava databinding java livedata mojidra vaibhav vaibhav-mojidra vaibhavmojidra viewmodel

Last synced: about 1 month ago
JSON representation

LiveData is an observable data holder class. Unlike a regular observable, LiveData is lifecycle-aware, meaning it respects the lifecycle of other app components, such as activities, fragments, or services. Instead of viewmodel..observe and setting the value to view we can directly use in XML @{vm.obj}

Awesome Lists containing this project

README

          

# Android-Java---Demo-Data-Binding-With-LiveData

Instead of viewmodel..observe and setting the value to view we can directly use in XML @{vm.obj}

![1](https://github.com/VaibhavMojidra/Android-Java---Demo-Data-Binding-With-LiveData/blob/master/screenshots/1.png)
![2](https://github.com/VaibhavMojidra/Android-Java---Demo-Data-Binding-With-LiveData/blob/master/screenshots/2.png)
![3](https://github.com/VaibhavMojidra/Android-Java---Demo-Data-Binding-With-LiveData/blob/master/screenshots/3.png)