private void handleUpdateTimeMessage(){
  invalidate();
  if (shouldTimerBeRunning()) {
    long timeMs=System.currentTimeMillis();
    long delayMs=INTERACTIVE_UPDATE_RATE_MS - (timeMs % INTERACTIVE_UPDATE_RATE_MS);
    mUpdateTimeHandler.sendEmptyMessageDelayed(MSG_UPDATE_TIME,delayMs);
  }
}

private void handleUpdateTimeMessage ( ) { invalidate ( ) ; if ( shouldTimerBeRunning ( ) ) { long timeMs = System . currentTimeMillis ( ) ; long delayMs = INTERACTIVE_UPDATE_RATE_MS - ( timeMs % INTERACTIVE_UPDATE_RATE_MS ) ; mUpdateTimeHandler . sendEmptyMessageDelayed ( MSG_UPDATE_TIME , delayMs ) ; } }
handle updating the time periodically in interactive mode .
