Created
July 23, 2020 12:58
-
-
Save kingjinho/6d48d27a584b856e877d57b949c2ad29 to your computer and use it in GitHub Desktop.
Block of Text
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 setBlockOfText(blockOfText: String): NotificationBuilder { | |
mNotificationBuilder.setStyle( | |
NotificationCompat.BigTextStyle() | |
//.setBigContentTitle("this is big content title") overrides setContentTitle() | |
//.setSummaryText("this is summary text") right next to app name | |
.bigText(blockOfText) | |
) | |
return this | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment