UseCaseState
constructor(visible: Boolean = false, embedded: Boolean = true, onFinishedRequest: UseCaseState.() -> Unit? = null, onDismissRequest: UseCaseState.() -> Unit? = null, onCloseRequest: UseCaseState.() -> Unit? = null)
Parameters
visible
If the container view is initially visible.
embedded
If the view is embedded (in a Dialog, PopUp, BottomSheet or another container that has its own state).
onCloseRequest
The listener that is invoked when the dialog was closed through any cause.
onFinishedRequest
The listener that is invoked when the dialog's use-case was finished by the user accordingly (negative, positive, selection).
onDismissRequest
The listener that is invoked when the dialog was dismissed.