StockVisibilityProvidingCompositeViewModel

constructor(vararg viewModels: T)


constructor(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.