Package app. futured. arkitekt. dagger. factory
Types
Link copied to clipboard
abstract class BaseSavedStateViewModelFactory<T : BaseViewModel<*>>(savedStateRegistryOwner: SavedStateRegistryOwner) : AbstractSavedStateViewModelFactory, ViewModelFactory<T>
Content copied to clipboard
Link copied to clipboard
abstract class BaseViewModelFactory<T : BaseViewModel<*>> : ViewModelFactory<T>
Content copied to clipboard
Base class for creating instances of ViewModel. Instance of this factory is required to be available in Activity/Fragment for automatic ViewModel instance creation. Factory might be automatically generated and should look like this:
Link copied to clipboard
interface ViewModelFactory<T : BaseViewModel<*>> : ViewModelProvider.Factory
Content copied to clipboard