void function ( Runnable arg0 ) { synchronized ( UiThreadUtil . class ) { if ( sMainHandler == null ) { sMainHandler = new Handler ( Looper . getMainLooper ( ) ) ; } } sMainHandler . post ( arg0 ) ; }
runs the given runnable on the ui thread . concode_field_sep Handler sMainHandler concode_field_sep boolean isOnUiThread concode_elem_sep void assertOnUiThread concode_elem_sep void assertNotOnUiThread