Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vaibhavmojidra/android-java---demo-data-binding-with-objects-viewmodel
Instead of using onclick listener for binding.buttton and calling the change() of ViewModel we can directly bind it in <data> tage where we create viewmodal obj and call the change() in button onClick attribute.
https://github.com/vaibhavmojidra/android-java---demo-data-binding-with-objects-viewmodel
android androidarchitecturecomponets livedata mojidra vaibhav vaibhav-mojidra vaibhavmojidra viewmodel
Last synced: 15 days ago
JSON representation
Instead of using onclick listener for binding.buttton and calling the change() of ViewModel we can directly bind it in <data> tage where we create viewmodal obj and call the change() in button onClick attribute.
- Host: GitHub
- URL: https://github.com/vaibhavmojidra/android-java---demo-data-binding-with-objects-viewmodel
- Owner: VaibhavMojidra
- Created: 2021-06-03T11:45:47.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-06-03T11:48:38.000Z (over 3 years ago)
- Last Synced: 2023-03-06T17:03:15.907Z (over 1 year ago)
- Topics: android, androidarchitecturecomponets, livedata, mojidra, vaibhav, vaibhav-mojidra, vaibhavmojidra, viewmodel
- Language: Java
- Homepage: https://vaibhavmojidra.github.io/site/
- Size: 525 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0