Last active
May 11, 2018 06:19
-
-
Save adriantache/2f625e00750091675d8b36506ff89d7b to your computer and use it in GitHub Desktop.
Notification PendingIntent code
This file contains hidden or 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
//create an intent to open the event details activity | |
Intent intent = new Intent(getApplicationContext(), EventDetail.class); | |
//put together the PendingIntent | |
PendingIntent pendingIntent = | |
PendingIntent.getActivity(getApplicationContext(), 1, intent, FLAG_UPDATE_CURRENT); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment