issues
search
jakubkinst
/
Android-ViewModelBinding
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.
294
stars
32
forks
source link
Generics improvement
#10
Closed
artufimtcev
closed
8 years ago
artufimtcev
commented
8 years ago
Change log:
Add generics to ViewModelBindingConfig which prevents clients from returning wrong Class instance
Add internal generics (ViewModelWrapper, getViewModel method of ViewModelProvider) to prevent mistakes in types in future
Raise an exception on unsuccessful variable assignment to ViewDataBinding
Change log: