Created
May 28, 2018 22:18
-
-
Save pedromassango/4bd4265072f1a552ddf169ac3a5e5170 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
// 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