Answers for "cannot create an instance of class viewmodel hilt"

0

cannot create an instance of class viewmodel kotlin

// add this piece of code in onCreate method
viewmodel = ViewModelProviders.of(this).get(SettingsViewModel::class.java)
Posted by: Guest on July-20-2021

Code answers related to "cannot create an instance of class viewmodel hilt"

Browse Popular Code Answers by Language