Android-ViewModelBinding
Android-ViewModelBinding copied to clipboard
A lightweight library aiming to speed up Android app development by leveraging the new Android Data Binding together with the Model-View-ViewModel design pattern.
This adds the ability to have viewmodels that contain other viewmodels. In the Android layout files, you might have, say, a (shared) widget that manages phone number entry and validation,...
Please add ViewModelFragment from RxFragment and ViewModelActivity from RxAppCompactActivity (RxActivity). Thanks for your support. You can use RxLifecycle library.
I like to use these VM, but there is some use cases where it is hard to use IT. For example: Activity -> Fragment -> VM -> ViewPager If i...
Hey developers, How can I use data binding in my application because I am new to data binding concept ? I have an application module and one android lib. Module...
Hi Jakub! After some research of your lib, i realized that navigation between screens is not very handy when it done from viewModel (especially when navigation step contains transitions/animations, better...
When i trying to inject some fields into viewModel with Dagger2, it fails, because apt compiler cannot find ActivityMainBinding (generated binding class). Same issue when injecting into Activity, because it...