Android, Kotlin, Network, Broadcast Receiver.
IntentFilter get() { val filter = IntentFilter() filter.addAction(android.net.ConnectivityManager.CONNECTIVITY_ACTION) filter.addAction(LocationManager.PROVIDERS_CHANGED_ACTION) return filter } } And now we will use it in bind method override fun bind(activity: ComponentActivity) {