ViewModelFactory

interface ViewModelFactory<T : BaseViewModel<*>> : ViewModelProvider.Factory

Functions

create
Link copied to clipboard
abstract fun <T : ViewModel> create(@NonNull() p0: Class<T>): T
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

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

Inheritors

BaseSavedStateViewModelFactory
Link copied to clipboard
BaseViewModelFactory
Link copied to clipboard