@ Override public void handleMessage ( Message msg ) { if ( msg . what == ASYNC ) { mAsyncDispatcher . dispatch ( ) ; } else if ( msg . what == SYNC ) { mSyncDispatcher . dispatch ( ) ; } else super . handleMessage ( msg ) ; }
Run in main thread