public class StateHandler extends Object
Modifier and Type | Field and Description |
---|---|
HashSet<String> |
mNeededStateContainers
Contains all keys of components that were present in the current ComponentTree and therefore
their StateContainer needs to be kept around.
|
Map<String,StateContainer> |
mStateContainers
Maps a component key to a component object that retains the current state values for that key.
|
Constructor and Description |
---|
StateHandler() |
StateHandler(StateHandler stateHandler) |
Modifier and Type | Method and Description |
---|---|
static StateHandler |
createNewInstance(StateHandler stateHandler) |
static StateHandler |
createShallowCopyForLazyStateUpdates(StateHandler stateHandler) |
boolean |
isEmpty() |
public Map<String,StateContainer> mStateContainers
public StateHandler()
public StateHandler(StateHandler stateHandler)
public static StateHandler createNewInstance(StateHandler stateHandler)
public static StateHandler createShallowCopyForLazyStateUpdates(StateHandler stateHandler)
public boolean isEmpty()