Created
July 23, 2020 12:56
-
-
Save kingjinho/f1b0541e8ac587af3a7e7bb4dff182bc to your computer and use it in GitHub Desktop.
set Large Icon
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
fun setLargeIcon(largeIconRes: Int): NotificationBuilder { | |
val bitmap = BitmapFactory.decodeResource(CONTEXT.resources, largeIconRes) | |
mNotificationBuilder.setLargeIcon(bitmap) | |
return this | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment