Answers for "kotlin viewmodel Cannot create an instance of class"

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 "kotlin viewmodel Cannot create an instance of class"

Browse Popular Code Answers by Language