Android Handler Message Queue -


i calling

handler.postdelayed(runnable, time); handler.post(runnable2);

will second runnable not handled until first message in queue does, after "time" has passed?

no. second runnable posted , execute before first -- depending on time parameter in first, anyway. if post first negligible delay time it's possible execute first. don't believe there's guarantee in place wouldn't.


Comments