Skip to content

Conversation

dalwadi2
Copy link

@dalwadi2 dalwadi2 commented Mar 9, 2019

ViewModel Can be inject directly, without using ViewModelFactory like Activity in Fragments and Dialog. Implement that in fragments and dialogs.

… Activity in Fragments and Dialog. Implement that in fragments and dialogs.
@HuuNguyen312
Copy link

When ViewModel is injected directly, without using ViewModelFactory
-> Fragment ViewModel's onCleared not called

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants