MediaPicker/multiple-media-picker/src/main/java/com/erikagtierrez/multiple_media_picker/adapter/ListAdapter.java
// Create new views (invoked by the layout manager)
Create new views (invoked by the layout manager)
Create new views ( invoked by the layout manager )
@Override
    public ListAdapter.ViewHolder onCreateViewHolder(ViewGroup parent,
                                                   int viewType) {
        LinearLayout v = (LinearLayout) LayoutInflater.from(parent.getContext())
                .inflate(R.layout.list_row, parent, false);
        ViewHolder vh = new ViewHolder(v);
        return vh;
    }
@ Override public ListAdapter . ViewHolder onCreateViewHolder ( ViewGroup parent , int viewType ) { LinearLayout v = ( LinearLayout ) LayoutInflater . from ( parent . getContext ( ) ) . inflate ( R . layout . list_row , parent , false ) ; ViewHolder vh = new ViewHolder ( v ) ; return vh ; }
Create new views (invoked by the layout manager)
Create new views ( invoked by the layout manager )
// create a new view