arch-android

//Android/br.com.arch.toolkit.android.statemachine/StateMachine/Config

Config

[android]
class Config

Configuration for the StateMachine.

Properties

Name Summary
initialState [android]
var initialState: Int
The key for the initial state.
onChangeState [android]
var onChangeState: (Int) -> Unit?
The global state change callback.

Functions

Name Summary
setInitialState [android]
fun setInitialState(initialState: Int): StateMachine.Config
Sets the initial state key.
setOnChangeState [android]
fun setOnChangeState(onChangeState: (Int) -> Unit): StateMachine.Config
Sets the global state change callback.