libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/milestone/BannerInstructionMilestone.java
private boolean isFirstInstruction(RouteProgress routeProgress) {
    List<BannerInstructions> instructions = routeProgress.currentLegProgress().currentStep().bannerInstructions();
    return validInstructions(stepBannerInstructions)
      && validInstructions(instructions)
      && instructions.get(0).equals(stepBannerInstructions.get(0));
  }
/**
   * Used to determine if the user is currently on the first step instruction.
   * <p>
   * In this case, the instructions should be shown immediately, rather than waiting for the
   * valid distance.
   *
   * @param routeProgress for current list of instructions
   * @return true if the first instruction on the step, false otherwise
   */
Used to determine if the user is currently on the first step instruction.

In this case, the instructions should be shown immediately, rather than waiting for the
valid distance.

@param routeProgress for current list of instructions
@return true if the first instruction on the step, false otherwise
Used to determine if the user is currently on the first step instruction . In this case the instructions should be shown immediately rather than waiting for the valid distance . @param routeProgress for current list of instructions @return true if the first instruction on the step false otherwise
private boolean isFirstInstruction(RouteProgress routeProgress) {
    List<BannerInstructions> instructions = routeProgress.currentLegProgress().currentStep().bannerInstructions();
    return validInstructions(stepBannerInstructions)
      && validInstructions(instructions)
      && instructions.get(0).equals(stepBannerInstructions.get(0));
  }
private boolean isFirstInstruction ( RouteProgress routeProgress ) { List < BannerInstructions > instructions = routeProgress . currentLegProgress ( ) . currentStep ( ) . bannerInstructions ( ) ; return validInstructions ( stepBannerInstructions ) && validInstructions ( instructions ) && instructions . get ( 0 ) . equals ( stepBannerInstructions . get ( 0 ) ) ; }
Used to determine if the user is currently on the first step instruction.
Used to determine if the user is currently on the first step instruction .