In Memory Default States Manager Repo
class InMemoryDefaultStatesManagerRepo<T : State>(map: MutableMap<Any, T>) : DefaultStatesManagerRepo<T>
Content copied to clipboard
Simple DefaultStatesManagerRepo for DefaultStatesManager which will store data in map and use primitive functionality
Constructors
InMemoryDefaultStatesManagerRepo
Link copied to clipboard
fun <T : State> InMemoryDefaultStatesManagerRepo(map: MutableMap<Any, T> = mutableMapOf())
Content copied to clipboard
Functions
get Context State
Link copied to clipboard
remove State
Link copied to clipboard
Remove exactly state. In case if internally State.context is busy with different State, that State should NOT be removed