Object ExecutionUtils

  • All Implemented Interfaces:

    public class ExecutionUtils

    Utils for predefined Thread execution

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit ensureMainThread() Ensures that method invocation happened on main thread
      final static Unit runOnUIThread(Runnable runnable) Executes runnable on the UI thread
      final static Unit showToast(Context context, Integer messageRes) Shows toast.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait