public static void runOnUiThread ( @ NonNull final Runnable runnable ) { Condition . INSTANCE . ensureNotNull ( runnable , "The runnable may not be null" ) ; new Handler ( Looper . getMainLooper ( ) ) . post ( runnable ) ; }
Executes a specific runnable on the UI thread .