UseCaseState
Handles the base behavior of any use-case view.
Parameters
If the container view is initially visible.
If the view is embedded (in a Dialog, PopUp, BottomSheet or another container that has its own state).
The listener that is invoked when the dialog was closed through any cause.
The listener that is invoked when the dialog's use-case was finished by the user accordingly (negative, positive, selection).
The listener that is invoked when the dialog was dismissed.
Constructors
Types
Data class that stores the important information of the current state and can be used by the Saver to save and restore the state.
Functions
Manually invoke the negative action. This is useful if you hid the buttons in the view.
Manually invoke the positive action. This is useful if you hid the buttons in the view.
Reset the current state data.