Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pedromassango/4bd4265072f1a552ddf169ac3a5e5170 to your computer and use it in GitHub Desktop.
Save pedromassango/4bd4265072f1a552ddf169ac3a5e5170 to your computer and use it in GitHub Desktop.
// Intent to start the Broadcast Receiver
val broadcastIntent = Intent(this, AlarmBroadcastReceiver::class.java)
// The Pending Intent to pass in AlarmManager
val pIntent = PendingIntent.getBroadcast(this,0,broadcastIntent,0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment