Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
NotificationCompat.Builder builderOne = new NotificationCompat.Builder(context)
// Other properties
.setGroupSummary(true)
.setGroup(KEY_NOTIFICATION_GROUP);
NotificationCompat.Builder builderTwo = new NotificationCompat.Builder(context)
// Other properties
.setGroupSummary(true)
.setGroup(KEY_NOTIFICATION_GROUP);
NotificationCompat.Builder builderThree = new NotificationCompat.Builder(context)
// Other properties
.setGroupSummary(true)
.setGroup(KEY_NOTIFICATION_GROUP);
@kirantrathod

This comment has been minimized.

Copy link

kirantrathod commented Dec 18, 2018

what is KEY_NOTIFICATION_GROUP in setGroup()?
I want to bundle my notifications same as whats app does.

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.