code: public static void onUiSync(Action action) {
          if (Looper.myLooper() == Looper.getMainLooper()) {
              action.call();
              return;
          }
          ActionSyncTask poster = new ActionSyncTask(action);
          getUiPoster().sync(poster);
          poster.waitRun();
      }
docs: Synchronously
  The current thread relative thread synchronization operation,
  blocking the current thread,
  thread for the main thread to complete
  
  @param action Action Interface