IviPopOverViewModel

@IviExperimental(reasons = [])
abstract class IviPopOverViewModel<CTX : IviPopOverContext>(val iviPopOverContext: CTX) : LifecycleViewModel

Abstract view model to keep the persistent state for IviPopOverFragment.

If a concrete class has other dependencies than the ones available in IviPopOverContext, then define a subclass of IviPopOverContext to hold the additional dependencies.

Parameters

CTX

The type of the context that this view model shall retain.

iviPopOverContext

The context holding required dependencies.

Constructors

Link copied to clipboard
constructor(iviPopOverContext: CTX)

Types

Link copied to clipboard
open class Factory(iviPopOverContext: IviPopOverContext) : ViewModelProvider.Factory

Factory to construct a concrete IviPopOverViewModel with the given iviPopOverContext. The concrete class must have a constructor with a single argument of type CTX.

Properties

Link copied to clipboard

Inherited properties

Link copied to clipboard
override val lifecycle: Lifecycle

Inherited functions

Link copied to clipboard