Class MainThreadExecutor

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean cancel​(java.lang.Runnable runnable)  
      void execute​(java.lang.Runnable runnable)  
      android.os.Handler getMainExecutor()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MainThreadExecutor

        public MainThreadExecutor()
    • Method Detail

      • execute

        public void execute​(java.lang.Runnable runnable)
        Specified by:
        execute in interface java.util.concurrent.Executor
      • getMainExecutor

        public android.os.Handler getMainExecutor()