sk.baka.ambient
Interface AppState.IAppStateAware

All Known Implementing Classes:
MainActivity, PlaylistPlayer
Enclosing class:
AppState

public static interface AppState.IAppStateAware

Implemented by components that are aware of the global application state.

Author:
Martin Vysny

Method Summary
 void reinit(AppState state)
          Cherry-picks values from the application state and reinitializes itself.
 void storeState(AppState state)
          Stores the components state into the global state.
 

Method Detail

reinit

void reinit(AppState state)
Cherry-picks values from the application state and reinitializes itself.

Parameters:
state - the just-loaded state

storeState

void storeState(AppState state)
Stores the components state into the global state. Must not alter settings not applicable for this component.

Parameters:
state - the object to store to.


Copyright © 2007-2008. All Rights Reserved.