Package com.inmobi.unification.utils
Object Task
-
- All Implemented Interfaces:
public class Task
-
-
Method Summary
Modifier and Type Method Description final static UnitrunOnUiThread(Runnable runnable)Util to post to the UI thread. final static UnitpostDelayed(Runnable runnable, Long delayMillis)-
-
Method Detail
-
runOnUiThread
final static Unit runOnUiThread(Runnable runnable)
Util to post to the UI thread. This should prevent the overhead of creating multiple handlers.
- Parameters:
runnable- Runnable that needs to be run on UI thread.
-
postDelayed
final static Unit postDelayed(Runnable runnable, Long delayMillis)
-
-
-
-