IviPopOverViewModel
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.
Types
Link copied to clipboard
Factory to construct a concrete IviPopOverViewModel with the given iviPopOverContext. The concrete class must have a constructor with a single argument of type CTX.