ViewModelConstructorNotFoundException

class ViewModelConstructorNotFoundException(viewModelClass: Class<out ViewModel>, args: Array<out Any>, cause: Throwable) : RuntimeException

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.

cause

The original exception.

Constructors

Link copied to clipboard
constructor(viewModelClass: Class<out ViewModel>, args: Array<out Any>, cause: Throwable)

Inherited properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?

Inherited functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard