Answers for "java.lang.runtimeexception cannot create an instance of 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 "java.lang.runtimeexception cannot create an instance of viewmodel"

Browse Popular Code Answers by Language