-
-
Save Arunshaik2001/5120a5eefb91531a36481ceeed0bf41f 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
private fun getNotificationBuilder(): NotificationCompat.Builder { | |
return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { | |
NotificationCompat.Builder(context, CHANNEL_NEW_BUBBLE) | |
} else { | |
NotificationCompat.Builder(context) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment