code: public static void showOnUiThread(Context applicationContext, String message, int duration) {
          Handler handler = HandlerUtils.getMainHandler();
          showOnUiThread(applicationContext, message, duration, handler);
      }
docs: Show toast on the UI thread.
  @param applicationContext the application context.
  @param message the message to show.
  @param duration the display duration.