StockVisibilityProvidingCompositeViewModel

fun <T : VisibilityProvider> StockVisibilityProvidingCompositeViewModel(vararg viewModels: T)


fun <T : VisibilityProvider> StockVisibilityProvidingCompositeViewModel(viewModels: List<T>, isVisible: Boolean = viewModels.any { it.isVisible })

Parameters

viewModels

The view models that are held.

isVisible

Determines whether the instance should be visible or not.