FtcXtensible/src/main/java/org/ftccommunity/ftcxtensible/robot/RobotContext.java
@Override
    public void runOnUiThread(Runnable runnable) {
        if (runnable == null) {
            throw new NullPointerException();
        }

        ((Activity) appContext).runOnUiThread(runnable);
    }
/**
     * Run a {@code Runnable} on the main app thread
     *
     * @param runnable Runnable to run on the UI Thread.
     */
Run a  Runnable on the main app thread
@param runnable Runnable to run on the UI Thread.
Run a Runnable on the main app thread @param runnable Runnable to run on the UI Thread .
@Override
    public void runOnUiThread(Runnable runnable) {
        if (runnable == null) {
            throw new NullPointerException();
        }
        ((Activity) appContext).runOnUiThread(runnable);
    }
@ Override public void runOnUiThread ( Runnable runnable ) { if ( runnable == null ) { throw new NullPointerException ( ) ; } ( ( Activity ) appContext ) . runOnUiThread ( runnable ) ; }
Run a {@code Runnable} on the main app thread
 @param runnable Runnable to run on the UI Thread.
Run a { @code Runnable } on the main app thread @param runnable Runnable to run on the UI Thread .