Last active
September 22, 2016 09:27
-
-
Save amatkivskiy/350d873195000c16591cdfda0c6a71aa 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 static Intent createIntent(Context context, int contentId, Class<?> referrer) { | |
Intent intent = new Intent(context, ContentDetailsActivity.class); | |
intent.putExtra(CONTENT_ID, contentId); | |
Referrers.putReferrer(intent, referrer); | |
return intent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment