@Override public void onBindViewHolder(MovieViewHolder holder,int position){
  Movie movie=movies.get(position);
  holder.setMovie(movie);
}

@ Override public void onBindViewHolder ( MovieViewHolder holder , int position ) { Movie movie = movies . get ( position ) ; holder . setMovie ( movie ) ; }
this method is called by layoutmanager to bind the viewholder with required data .
