Answers for "caused by: java.lang.runtimeexception: cannot create an instance of class viewmodel"

2

java.lang.RuntimeException: Cannot create an instance of class ViewModel

if you are using Hilt, ensure your "activity/fragment" 
is having" @AndroidEntryPoint " annotation
Posted by: Guest on October-20-2021

Code answers related to "caused by: java.lang.runtimeexception: cannot create an instance of class viewmodel"

Browse Popular Code Answers by Language