libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/instruction/InstructionView.java
private void initDirectionsRecyclerView() {
    locale = LocaleUtils.getNonNullLocale(getContext(), locale);
    instructionListAdapter = new InstructionListAdapter(getContext(), locale, unitType);
    rvInstructions.setAdapter(instructionListAdapter);
    rvInstructions.setHasFixedSize(true);
    rvInstructions.setNestedScrollingEnabled(true);
    rvInstructions.setItemAnimator(new DefaultItemAnimator());
    rvInstructions.setLayoutManager(new LinearLayoutManager(getContext()));
  }
/**
   * Sets up the {@link RecyclerView} that is used to display the list of instructions.
   */
Sets up the  RecyclerView that is used to display the list of instructions.
Sets up the RecyclerView that is used to display the list of instructions .
private void initDirectionsRecyclerView() {
    locale = LocaleUtils.getNonNullLocale(getContext(), locale);
    instructionListAdapter = new InstructionListAdapter(getContext(), locale, unitType);
    rvInstructions.setAdapter(instructionListAdapter);
    rvInstructions.setHasFixedSize(true);
    rvInstructions.setNestedScrollingEnabled(true);
    rvInstructions.setItemAnimator(new DefaultItemAnimator());
    rvInstructions.setLayoutManager(new LinearLayoutManager(getContext()));
  }
private void initDirectionsRecyclerView ( ) { locale = LocaleUtils . getNonNullLocale ( getContext ( ) , locale ) ; instructionListAdapter = new InstructionListAdapter ( getContext ( ) , locale , unitType ) ; rvInstructions . setAdapter ( instructionListAdapter ) ; rvInstructions . setHasFixedSize ( true ) ; rvInstructions . setNestedScrollingEnabled ( true ) ; rvInstructions . setItemAnimator ( new DefaultItemAnimator ( ) ) ; rvInstructions . setLayoutManager ( new LinearLayoutManager ( getContext ( ) ) ) ; }
Sets up the {@link RecyclerView} that is used to display the list of instructions.
Sets up the { @link RecyclerView } that is used to display the list of instructions .