private boolean newDistanceText(InstructionModel model) {
    return !upcomingDistanceText.getText().toString().isEmpty()
      && !TextUtils.isEmpty(model.retrieveStepDistanceRemaining())
      && !upcomingDistanceText.getText().toString()
      .contentEquals(model.retrieveStepDistanceRemaining().toString());
  }
private boolean newDistanceText ( InstructionModel model ) { return ! upcomingDistanceText . getText ( ) . toString ( ) . isEmpty ( ) && ! TextUtils . isEmpty ( model . retrieveStepDistanceRemaining ( ) ) && ! upcomingDistanceText . getText ( ) . toString ( ) . contentEquals ( model . retrieveStepDistanceRemaining ( ) . toString ( ) ) ; }
Looks to see if we have a new distance text.

@param model provides distance text