-2

Possible Duplicate:
Andriod: Inflate listview using its android:id

With regard to the following qn : Android Custom Listview I would like to know how the following statement:

convertView = inflater.inflate(R.layout.listitem_row, null); 

can be implemented if the contents of listitem_row.xml are part of a larger xml file. i.e., i only want to inflate this specific part of the larger xml file. Thanks.

Community
  • 1
  • 1
OckhamsRazor
  • 4,824
  • 13
  • 51
  • 88
  • 1
    ... Reminds me of [something](http://stackoverflow.com/questions/7673911/andriod-inflate-listview-using-its-androidid). Please avoid duplicate by modifying your original question ;) – Laurent' Oct 06 '11 at 12:44
  • You have posted this question 3 times in the last hour ! – Ovidiu Latcu Oct 06 '11 at 13:15

1 Answers1

1

Then just create another XML contain those specific parts you need, and inflate it. Please learn the basic first.

You can refer to one of my tutorials on ListView: http://xjaphx.wordpress.com/2011/06/12/create-application-launcher-as-a-list/

Pete Houston
  • 14,931
  • 6
  • 47
  • 60