private void activeRecyclerView(List myMaps){
  RecyclerView.LayoutManager layoutManager;
  mapsRV=(RecyclerView)findViewById(R.id.my_maps_download_recycler_view);
  DefaultItemAnimator animator=new DefaultItemAnimator();
  animator.setAddDuration(600);
  animator.setRemoveDuration(600);
  mapsRV.setItemAnimator(animator);
  mapsRV.setHasFixedSize(true);
  layoutManager=new LinearLayoutManager(this);
  mapsRV.setLayoutManager(layoutManager);
  myDownloadAdapter=new MyDownloadAdapter(myMaps,this);
  mapsRV.setAdapter(myDownloadAdapter);
}

private void activeRecyclerView ( List myMaps ) { RecyclerView . LayoutManager layoutManager ; mapsRV = ( RecyclerView ) findViewById ( R . id . my_maps_download_recycler_view ) ; DefaultItemAnimator animator = new DefaultItemAnimator ( ) ; animator . setAddDuration ( 600 ) ; animator . setRemoveDuration ( 600 ) ; mapsRV . setItemAnimator ( animator ) ; mapsRV . setHasFixedSize ( true ) ; layoutManager = new LinearLayoutManager ( this ) ; mapsRV . setLayoutManager ( layoutManager ) ; myDownloadAdapter = new MyDownloadAdapter ( myMaps , this ) ; mapsRV . setAdapter ( myDownloadAdapter ) ; }
active directions , and directions view
