MediaPicker/multiple-media-picker/src/main/java/com/erikagtierrez/multiple_media_picker/adapter/ListAdapter.java
// Replace the contents of a view (invoked by the layout manager)
Replace the contents of a view (invoked by the layout manager)
Replace the contents of a view ( invoked by the layout manager )
@Override
    public void onBindViewHolder(ViewHolder holder, int position) {
        final FileItem fileItem = this.fileItems.get(position);
        holder.imageView.setImageResource(fileItem.getImage());
        holder.titleTextView.setText(fileItem.getName());
    }
@ Override public void onBindViewHolder ( ViewHolder holder , int position ) { final FileItem fileItem = this . fileItems . get ( position ) ; holder . imageView . setImageResource ( fileItem . getImage ( ) ) ; holder . titleTextView . setText ( fileItem . getName ( ) ) ; }
Replace the contents of a view (invoked by the layout manager)
Replace the contents of a view ( invoked by the layout manager )
// - get element from your dataset at this position // - replace the contents of the view with that element //        holder.imageView.setText(mDataset[position]);