Created
May 3, 2012 01:25
-
-
Save Amokrane/2582407 to your computer and use it in GitHub Desktop.
Parcelable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intent intent = new Intent(MainScreen.this, TabbedView.class); | |
Bundle bundle = new Bundle(); | |
bundle.putParcelableArray(HEADLINES_FOR_SPORT_EXTRA, existingSportHeadlines.get(selectedSportName)); | |
bundle.putParcelableArray(SCORES_FOR_SPORT_EXTRA, existingSportScores.get(selectedSportName)); | |
bundle.putParcelableArray(SCHEDULE_FOR_SPORT_EXTRA, existingSportSchedule.get(selectedSportName)); | |
intent.putExtras(bundle); | |
intent.putExtra(SPORT_NAME_EXTRA, selectedSportName); | |
startActivity(intent); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment