Skip to content

Instantly share code, notes, and snippets.

@sudiptamondal
Created February 10, 2020 07:23
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save sudiptamondal/91eeab62b449e120ea08ede3b10b7ecc to your computer and use it in GitHub Desktop.
CreateNotif.java-2
final NotificationCompat.Builder builder = new NotificationCompat.Builder(this, "1000111")
.setContentTitle("Notification Title")
.setSmallIcon(R.drawable.ic_stat_name)
.setContentText("Notification Text")
.setPriority(NotificationCompat.PRIORITY_DEFAULT);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment