could someone explain what use case we face when w...
# android
m
could someone explain what use case we face when we will to use ViewModelFactory and pass the ViewModelFactory to the second argument of
ViewModelProviders.of()
?
p
use case when you want to send parameters into the viewmodel's constructor. So you must use a Factory
m
ok i get it now thank you