mansonheart
02/10/2018, 6:46 PMdelay()
work?
A comment in source code (method scheduleResumeAfterDelay
) says: This implementation is supposed to use dispatcher's native ability for scheduled execution in its thread(s).
It means that the method interacts with the thread scheduler to put the current thread into a wait state for the required interval? (like Thread.sleep() https://www.javamex.com/tutorials/threads/sleep.shtml)
Or what kind of native ability are we talking about?louiscad
02/10/2018, 6:49 PMpostDelayed
on Handler
when using the UI
coroutine context for example.mansonheart
02/10/2018, 6:59 PMlouiscad
02/10/2018, 7:12 PMstreetsofboston
02/10/2018, 8:16 PMelizarov
02/11/2018, 9:16 AM