Open dalwadi2 opened 5 years ago
ViewModel Can be inject directly, without using ViewModelFactory like Activity in Fragments and Dialog. Implement that in fragments and dialogs.
When ViewModel is injected directly, without using ViewModelFactory -> Fragment ViewModel's onCleared not called
ViewModel Can be inject directly, without using ViewModelFactory like Activity in Fragments and Dialog. Implement that in fragments and dialogs.