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

Chris

03/17/2021, 11:18 PM
Hi,Is there a library to replace Android Handler.callback?
z

Zach Klippenstein (he/him) [MOD]

03/17/2021, 11:26 PM
not sure if this is what you’re asking, but coroutines are the trendy way to do async on android these days
c

Chris

03/18/2021, 12:02 AM
ok, thank you ... but.. viewModelScope, apply? ok ?
z

Zach Klippenstein (he/him) [MOD]

03/18/2021, 12:04 AM
the androidx libraries provide coroutine integrations for ViewModel, if that’s what you’re asking
c

Chris

03/18/2021, 12:06 AM
ok.