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

oday

09/30/2022, 11:38 AM
is there a defacto/known way to park network requests when network is not available and make the requests again when network is back? seems like a typical requirement
😶 3
k

Kamal

09/30/2022, 11:45 AM
Workmanager?
🙌 3
o

oday

09/30/2022, 11:48 AM
yea probably
g

gildor

10/03/2022, 2:11 AM
Workmanager can fit or do not fit to your behaviour, so essentially, if you just want to do some operation when network is available, workmanager is the best solution In general way to know network status is ConnectivityManager API
2 Views