libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/milestone/BannerInstructionMilestone.java
private boolean shouldBeShown(RouteProgress routeProgress, BannerInstructions bannerInstructions) {
    return (bannerInstructions.distanceAlongGeometry()
      >= routeProgress.currentLegProgress().currentStepProgress().distanceRemaining())
      || isFirstInstruction(routeProgress);
  }
/**
   * Uses the current step distance remaining to check against banner instructions distance.
   *
   * @param routeProgress      the current route progress
   * @param bannerInstructions given banner instructions from the list of step instructions
   * @return true if time to show the instructions, false if not
   */
Uses the current step distance remaining to check against banner instructions distance.
@param routeProgress      the current route progress
@param bannerInstructions given banner instructions from the list of step instructions
@return true if time to show the instructions, false if not
Uses the current step distance remaining to check against banner instructions distance . @param routeProgress the current route progress @param bannerInstructions given banner instructions from the list of step instructions @return true if time to show the instructions false if not
private boolean shouldBeShown(RouteProgress routeProgress, BannerInstructions bannerInstructions) {
    return (bannerInstructions.distanceAlongGeometry()
      >= routeProgress.currentLegProgress().currentStepProgress().distanceRemaining())
      || isFirstInstruction(routeProgress);
  }
private boolean shouldBeShown ( RouteProgress routeProgress , BannerInstructions bannerInstructions ) { return ( bannerInstructions . distanceAlongGeometry ( ) >= routeProgress . currentLegProgress ( ) . currentStepProgress ( ) . distanceRemaining ( ) ) || isFirstInstruction ( routeProgress ) ; }
Uses the current step distance remaining to check against banner instructions distance.
Uses the current step distance remaining to check against banner instructions distance .