Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
private HashMap<String, Station> mStationMap;
...
@Override
public void onSaveInstanceState(Bundle outState) {
StationHashMap stationHashMap = new StationHashMap();
stationHashMap.setStationMap(mStationMap);
outState.putParcelable(SAVE_INSTANCE_KEY_SATION_MAP, stationHashMap);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment