https://kotlinlang.org logo
#android
Title
# android
d

dave08

01/07/2019, 6:03 PM
Anyone tried using coroutines to implement a wrapper over a
BroadcastReceiver
that needs to be registered on the fly in a service (to await for a notification's pending intent...)?
c

Casey Kulm

01/07/2019, 7:10 PM
d

dave08

01/08/2019, 10:20 AM
I really meant that in Rx there's a few libraries like this, but in Coroutines I haven't found. I was wondering if maybe I missed an implementation... or maybe its just so simple in coroutines that anyone needing this just whips it up by themselves every time?
r

radityagumay

01/09/2019, 3:07 PM
@dave08 how to goes by using rx?
d

dave08

01/09/2019, 4:08 PM
There's I think a bunch, one is: https://github.com/cantrowitz/RxBroadcast
3 Views