Skip to content

Instantly share code, notes, and snippets.

@smoralb
Created April 5, 2022 16:40
Show Gist options
  • Save smoralb/9f147be92db505c909d66da90d3fa2db to your computer and use it in GitHub Desktop.
Save smoralb/9f147be92db505c909d66da90d3fa2db to your computer and use it in GitHub Desktop.
class CustomBroadcastReceiver: BroadcastReceiver() {
override fun onReceive(context: Context, intent: Intent) {
// All the logic we want to execute when the app receive the event/intent.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment