AdaptiveSystemUiHelper

@IviExperimental(reasons = [])
class AdaptiveSystemUiHelper<T : Enum<T>>(context: Context, viewVariantSelector: (widthDp: Int, heightDp: Int) -> T, inflateFunctionProvider: (T) -> (LayoutInflater) -> ViewDataBinding, bindDataFunction: (ViewDataBinding) -> Unit)

Constructors

Link copied to clipboard
fun <T : Enum<T>> AdaptiveSystemUiHelper(context: Context, viewVariantSelector: (widthDp: Int, heightDp: Int) -> T, inflateFunctionProvider: (T) -> (LayoutInflater) -> ViewDataBinding, bindDataFunction: (ViewDataBinding) -> Unit)

Properties

Link copied to clipboard

The ViewFactory that the SystemUiHost should use to create views. Can be used easily from the system UI host with: