Package-level declarations
Types
Link copied to clipboard
open class StockVisibilityProvidingCompositeViewModel<T : VisibilityProvider>(val viewModels: List<T>, val isVisible: Boolean = viewModels.any { it.isVisible }) : VisibilityProvidingCompositeViewModel<T>
A view model that holds multiple visible instances. By default, this instance is visible, when any of the held view models is visible.
Link copied to clipboard
interface VisibilityProvider
Interface to read whether an instance should be visible.
Link copied to clipboard
A composite view model that provides visibility and holds multiple view model instances.