ViewModelCreator

interface ViewModelCreator<VM : BaseViewModel<*>>

Holds reference to BaseViewModelFactory associated with particular ViewModel. Forces developer to specify ViewModelFactory in its specific Activity/Fragment.

Functions

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

viewModelFactory
Link copied to clipboard
abstract val viewModelFactory: ViewModelFactory<VM>

Inheritors

BaseDaggerActivity
Link copied to clipboard
BaseDaggerBindingActivity
Link copied to clipboard
BaseDaggerBindingFragment
Link copied to clipboard
BaseDaggerFragment
Link copied to clipboard
BaseDaggerBottomSheetDialogFragment
Link copied to clipboard
BaseDaggerBindingDialogFragment
Link copied to clipboard
BaseDaggerDialogFragment
Link copied to clipboard