-
-
Save Arunshaik2001/5db8f290db2ecde1895303db4a4f37fe 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
val summaryNotification = NotificationCompat.Builder(context, NotificationChannels.CHANNEL1) | |
.setContentTitle("Summary") | |
.setContentText("Two new messages") | |
.setSmallIcon(R.drawable.email) | |
.setStyle(NotificationCompat.InboxStyle() | |
.addLine("Arun Ooo") | |
.addLine("Alex Outside") | |
.setBigContentTitle("2 new messages") | |
.setSummaryText("arun@example.com")) | |
.setGroup(GROUP_KEY_WORK_EMAIL) | |
.setGroupSummary(true) | |
.build() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment