https://kotlinlang.org logo
#coroutines
Title
# coroutines
b

bj0

09/14/2018, 4:53 PM
without explicitly writing an actor for every handler
w

withoutclass

09/14/2018, 5:01 PM
I usually just disable the UI element until the background operation is complete. I’m lazy and debouncing is too much effort
Use anko, set a coroutine click listener on it
b

bj0

09/14/2018, 5:11 PM
that's no better than kotlin android extensions + the extension i linked, which imo is cleaner, I was hoping to use data binding to clean up my fragments
guess it's just gonna be a pain until they better integrate coroutines into the framework
5 Views