Last active
May 9, 2016 14:26
-
-
Save dlemures/dcb460623fe4e639cef68af4b484e829 to your computer and use it in GitHub Desktop.
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
public class IntentFactory { | |
public Intent newDetailActivityIntent(Context context, String itemId, boolean showMap) { | |
Intent intent = new Intent(context, DetailActivity.class); | |
intent.putExtra(EXTRA_ITEM_ID, itemId); | |
intent.putExtra(EXTRA_SHOW_MAP, showMap); | |
return intent; | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment