libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/instruction/InstructionView.java
private void bind() {
    upcomingManeuverView = findViewById(R.id.maneuverView);
    upcomingDistanceText = findViewById(R.id.stepDistanceText);
    upcomingPrimaryText = findViewById(R.id.stepPrimaryText);
    upcomingSecondaryText = findViewById(R.id.stepSecondaryText);
    thenManeuverView = findViewById(R.id.thenManeuverView);
    thenStepText = findViewById(R.id.thenStepText);
    soundChipText = findViewById(R.id.soundText);
    soundFab = findViewById(R.id.soundFab);
    feedbackFab = findViewById(R.id.feedbackFab);
    alertView = findViewById(R.id.alertView);
    rerouteLayout = findViewById(R.id.rerouteLayout);
    turnLaneLayout = findViewById(R.id.turnLaneLayout);
    thenStepLayout = findViewById(R.id.thenStepLayout);
    rvTurnLanes = findViewById(R.id.rvTurnLanes);
    instructionLayout = findViewById(R.id.instructionLayout);
    instructionLayoutText = findViewById(R.id.instructionLayoutText);
    instructionListLayout = findViewById(R.id.instructionListLayout);
    rvInstructions = findViewById(R.id.rvInstructions);
    initInstructionAutoSize();
  }
/**
   * Finds and binds all necessary views
   */
Finds and binds all necessary views
Finds and binds all necessary views
private void bind() {
    upcomingManeuverView = findViewById(R.id.maneuverView);
    upcomingDistanceText = findViewById(R.id.stepDistanceText);
    upcomingPrimaryText = findViewById(R.id.stepPrimaryText);
    upcomingSecondaryText = findViewById(R.id.stepSecondaryText);
    thenManeuverView = findViewById(R.id.thenManeuverView);
    thenStepText = findViewById(R.id.thenStepText);
    soundChipText = findViewById(R.id.soundText);
    soundFab = findViewById(R.id.soundFab);
    feedbackFab = findViewById(R.id.feedbackFab);
    alertView = findViewById(R.id.alertView);
    rerouteLayout = findViewById(R.id.rerouteLayout);
    turnLaneLayout = findViewById(R.id.turnLaneLayout);
    thenStepLayout = findViewById(R.id.thenStepLayout);
    rvTurnLanes = findViewById(R.id.rvTurnLanes);
    instructionLayout = findViewById(R.id.instructionLayout);
    instructionLayoutText = findViewById(R.id.instructionLayoutText);
    instructionListLayout = findViewById(R.id.instructionListLayout);
    rvInstructions = findViewById(R.id.rvInstructions);
    initInstructionAutoSize();
  }
private void bind ( ) { upcomingManeuverView = findViewById ( R . id . maneuverView ) ; upcomingDistanceText = findViewById ( R . id . stepDistanceText ) ; upcomingPrimaryText = findViewById ( R . id . stepPrimaryText ) ; upcomingSecondaryText = findViewById ( R . id . stepSecondaryText ) ; thenManeuverView = findViewById ( R . id . thenManeuverView ) ; thenStepText = findViewById ( R . id . thenStepText ) ; soundChipText = findViewById ( R . id . soundText ) ; soundFab = findViewById ( R . id . soundFab ) ; feedbackFab = findViewById ( R . id . feedbackFab ) ; alertView = findViewById ( R . id . alertView ) ; rerouteLayout = findViewById ( R . id . rerouteLayout ) ; turnLaneLayout = findViewById ( R . id . turnLaneLayout ) ; thenStepLayout = findViewById ( R . id . thenStepLayout ) ; rvTurnLanes = findViewById ( R . id . rvTurnLanes ) ; instructionLayout = findViewById ( R . id . instructionLayout ) ; instructionLayoutText = findViewById ( R . id . instructionLayoutText ) ; instructionListLayout = findViewById ( R . id . instructionListLayout ) ; rvInstructions = findViewById ( R . id . rvInstructions ) ; initInstructionAutoSize ( ) ; }
Finds and binds all necessary views
Finds and binds all necessary views