Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.