//Android/br.com.arch.toolkit.android.statemachine/ViewStateMachine/State
[android]
class State : StateMachine.State
Represents a single state in a ViewStateMachine.
| Name | Summary |
|---|---|
| enter | [android] var enter: () -> Unit? Callback to be invoked when entering this state. |
| exit | [android] var exit: () -> Unit? Callback to be invoked when exiting this state. |
| Name | Summary |
|---|---|
| disables | [android] fun disables(vararg views: ERROR CLASS: Symbol not found for View??): ViewStateMachine.State Sets the views to be disabled when this state is entered. [android] fun disables(@IdResvararg ids: Int): ViewStateMachine.State Sets the view IDs to be disabled when this state is entered. |
| enables | [android] fun enables(vararg views: ERROR CLASS: Symbol not found for View??): ViewStateMachine.State Sets the views to be enabled when this state is entered. [android] fun enables(@IdResvararg ids: Int): ViewStateMachine.State Sets the view IDs to be enabled when this state is entered. |
| gones | [android] fun gones(vararg views: ERROR CLASS: Symbol not found for View??): ViewStateMachine.State Sets the views to be made gone when this state is entered. [android] fun gones(@IdResvararg ids: Int): ViewStateMachine.State Sets the view IDs to be made gone when this state is entered. |
| invisibles | [android] fun invisibles(vararg views: ERROR CLASS: Symbol not found for View??): ViewStateMachine.State Sets the views to be made invisible when this state is entered. [android] fun invisibles(@IdResvararg ids: Int): ViewStateMachine.State Sets the view IDs to be made invisible when this state is entered. |
| onEnter | [android] open override fun onEnter(callback: () -> Unit): ViewStateMachine.State Sets a callback to be invoked when entering this state. |
| onExit | [android] open override fun onExit(callback: () -> Unit): ViewStateMachine.State Sets a callback to be invoked when exiting this state. |
| root | [android] fun root(view: ERROR CLASS: Symbol not found for View): ViewStateMachine.State Sets the root view to be used for finding views by ID. |
| visibles | [android] fun visibles(vararg views: ERROR CLASS: Symbol not found for View??): ViewStateMachine.State Sets the views to be made visible when this state is entered. [android] fun visibles(@IdResvararg ids: Int): ViewStateMachine.State Sets the view IDs to be made visible when this state is entered. |