Cannot create an instance of class ViewModel
if you are using Hilt
, ensure your activity/fragment is having @AndroidEntryPoint
annotation
Make your constructor public
.
if you are using Hilt
, ensure your activity/fragment is having @AndroidEntryPoint
annotation
Make your constructor public
.