Package 

Class UIExecutor

    • Constructor Summary

      Constructors 
      Constructor Description
      UIExecutor()
    • Method Summary

      Modifier and Type Method Description
      void runOnUiThread(Runnable action) Runs the specified action on the UI thread.
      • Methods inherited from class java.lang.Object

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

      • UIExecutor

        UIExecutor()
    • Method Detail

      • runOnUiThread

         void runOnUiThread(Runnable action)

        Runs the specified action on the UI thread. If the current thread is the UI thread, then theaction is executed immediately. If the current thread is not the UI thread, the action isposted to the event queue of the UI thread.

        Parameters:
        action - the action to run on the UI thread