/** * It returns the layout that has to be passed to the view holder. * * @param rowView the layout that has to be shown * @return a wrapped layout */ public ViewGroup getRowLayout(View rowView) { LinearLayout rowLayout = mLayout.getContainerRowLayout(); rowLayout.addView(rowView); return rowLayout; }