Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
private fun createBigContentView(text: String, bigImage: Bitmap, pill: Bitmap) =
RemoteViews(context.packageName, R.layout.notification_big_content_view).apply {
setImageViewBitmap(R.id.notification_background_image, bigImage)
setImageViewBitmap(R.id.notification_pill, pill)
setTextViewText(R.id.notification_text, text)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment