| android Programming Glossary: infalteListview with different layout inflation for each row http://stackoverflow.com/questions/15705832/listview-with-different-layout-inflation-for-each-row  View row convertView LayoutInflater inflater null int type getItemViewType position if row null if type FIRST_TYPE  infalte layout of type1 if type FIRST_TYPE  infalte layout of type2 else  infalte layout of normaltype   share improve this answer.. 
 Android: xml layout for a listview with different items http://stackoverflow.com/questions/18868194/android-xml-layout-for-a-listview-with-different-items  inflater null int type getItemViewType position instead of if else you can use a case if row null if type FIRST_TYPE  infalte layout of type1 if type SECOND_TYPE  infalte layout of type2 else  infalte layout of normaltype   share improve this answer.. 
 |