-
-
Save hitherejoe/b03e967e472e51745f56 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
PendingIntent archiveIntent = PendingIntent.getActivity(...); | |
NotificationCompat.Action replyAction = ...; | |
NotificationCompat.Action archiveAction = ...; | |
NotificationCompat.Builder builder = new NotificationCompat.Builder(context) | |
// Other properties | |
.setGroup(KEY_NOTIFICATION_GROUP) | |
.addAction(replyAction) | |
.addAction(archiveAction); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment