Package 

Class UIExecutor

  • All Implemented Interfaces:

    
    public class UIExecutor
    
                        

    Internal use only.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      UIExecutor()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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 the action is executed immediately. If the current thread is not the UI thread, the action is posted to the event queue of the UI thread.

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