ViewModelFactory

Implementations of Factory interface are responsible to instantiate ViewModels.

Properties

Link copied to clipboard
abstract val viewModelClass: KClass<VM>

Functions

Link copied to clipboard
abstract fun create(extras: CreationExtras): VM

Creates a new instance of VM.

Link copied to clipboard