Android, Kotlin, Network, Broadcast Receiver.
private fun handleIntent(intent: Intent, context: Context) { } override fun bind(activity: ComponentActivity) { } override fun release(activity: ComponentActivity) { } } Now the intents we care about are LocationManager.PROVIDERS_CHANGED_ACTION ConnectivityManager.CONNECTIVITY_ACTION with this in