How to use register and create a Broadcast Receiver in Android in Kotlin. Any advice...
In Java, you can create it by declaring it as a Broadcast Receiver. But in Kotlin I a
I've created a BroadcastReceiver Kotlin extension, which you can copy/paste anywhere.
It doesn't do much more than what is already mentioned, but it reduces some of the boilerplate.