Failure

constructor()

Display a failure state.


constructor(labelText: String? = null, preView: @Composable () -> Unit? = null, postView: @Composable () -> Unit? = null)

Display a failure state.

Parameters

labelText

The text for a label that is displayed at the top of the state view

preView

A custom composable view that is added above the indicator view

postView

A custom composable view that is added below the indicator view


constructor(customView: @Composable () -> Unit)

Display a failure state.

Parameters

customView

Use for a custom composable view instead of the default state view