protected void postRunnable(Runnable runnable){
  if (runnable != null) {
    if (getUseSynchronousMode() || handler == null) {
      runnable.run();
    }
 else {
      handler.post(runnable);
    }
  }
}

protected void postRunnable ( Runnable runnable ) { if ( runnable != null ) { if ( getUseSynchronousMode ( ) || handler == null ) { runnable . run ( ) ; } else { handler . post ( runnable ) ; } } }
helper method to send runnable into local handler loop
