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

Vivekpanchal64

06/01/2020, 8:41 PM
Hey guys can anyone help me with networkboundresource helper class with corrutines ?? Anyone tried that ?
google 4
👍 2
s

spragg

06/02/2020, 12:17 AM
Are you able to summarise (in dot point) what questions you have about it?
d

dawidhyzy

06/02/2020, 6:17 AM
Please check the channel topic
v

Vivekpanchal64

06/02/2020, 6:18 AM
I want to remove the appexecutors with the corutines
z

zhuinden

06/02/2020, 1:56 PM
i don't see why you're trying to either rewrite networkBoundResource to coroutines, or to use networkBoundResource at all if you can't customize its behavior with the chosen toolkit.
as NetworkBoundResource relies on MediatorLiveData, it's unlikely that you'll be able to find an equivalent to
onActive()
(technically
addSource {
) until SharedFlow is complete.
👍 1
3 Views