ViewModelConstructorNotFoundException
class ViewModelConstructorNotFoundException( viewModelClass: Class<*>, args: Array<out Any>, throwable: Throwable) : RuntimeException
Content copied to clipboard
Thrown when an application tries to create an instance of ViewModel class, but the specified class does not have the required constructor.
Parameters
viewModelClass
The reference of view model class.
args
The arguments expected in a constructor.
throwable
The original exception.
Constructors
Link copied to clipboard
fun ViewModelConstructorNotFoundException( viewModelClass: Class<*>, args: Array<out Any>, throwable: Throwable)
Content copied to clipboard