-
-
Save hitherejoe/cb7243465e85b418df9f 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
NotificationCompat.Builder builder = new NotificationCompat.Builder(context) | |
.setSmallIcon(R.drawable.ic_phonelink_ring_primary_24dp) | |
.setContentTitle(title) | |
.setContentText(message) | |
.setLargeIcon(largeIcon) | |
.addAction(replyAction); | |
.addAction(archiveAction); | |
.setAutoCancel(true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment