https://kotlinlang.org logo
#kotlin-fuel
Title
# kotlin-fuel
i

itnoles

02/02/2019, 2:57 AM
I think Fuel-Android is Sync by default
d

Derk-Jan Karrenbeld

02/02/2019, 12:00 PM
No, it does execute the callback on the main thread
i

itnoles

02/02/2019, 8:08 PM
Android Handler has Async Methods, but it is API Level 28 and higher
d

Derk-Jan Karrenbeld

02/02/2019, 8:51 PM
Can you make an issue?
i

itnoles

02/02/2019, 9:09 PM
sure
❤️ 1
k

kittinunf

02/04/2019, 3:10 AM
@Derk-Jan Karrenbeld is right. It executes the callback on the main thread but the execution itself is not. What was the problem that you see?
i

itnoles

02/04/2019, 4:43 AM
I am saying Android Handler is capable to call the Main Thread on Async too.
CreateAsync is "Create a new Handler whose posted messages and runnables are not subject to synchronization barriers such as display vsync. "
5 Views