Created
August 15, 2019 08:12
-
-
Save EfeBudak/d8a6f2d0a625cd440b3a70faf2502e96 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 builder = NotificationCompat.Builder(this, CHANNEL_ID) | |
.setSmallIcon(R.drawable.ic_launcher_foreground) | |
.setContentTitle("Interactive Notification Title") | |
.setContentText("Interactive Notification Text") | |
.setContentIntent(InteractiveNotificationBroadcastReceiver.newPendingIntent(this)) | |
val soCloseInteractiveNotification = builder.build() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment