views:

5093

answers:

3

Hi overflow'ers!

Is there a working example out there that demonstrates how to append additional rows in ListView dynamically? For example:

  1. you are pulling RSS feeds from different domains
  2. you then display the first 10 items in the ListView (while you have other threads running in the background continue pulling feeds)
  3. you scroll and reach the bottom of the List and click at a button to view more items
  4. the ListView will then get appended with additional 10 items, which makes 20 items now in total.

Any advice how to accomplish this?

Nicholas

+5  A: 
Ramps
Thanks, Ramps. I'll give this a try
Nicholas Key
Thanks, Ramps. This worked great for me.
Eclipsed4utoo
A: 

Hi, can you show me how I get R.layout.custom_row,R.id.item. Thanks! My email is: [email protected]

Tung Nguyen
Please learn how to ask questions properly! You may read at: http://www.catb.org/~esr/faqs/smart-questions.html. The answer part is for answering, not requesting/asking for code. You have to do own coding and all the hard work. Here you get hints and pieces of advice only.
Viet
A: 

This example can help u in adding items to listview dynamically.

http://www.androidpeople.com/android-custom-dynamic-listview/

i am not sure abt the xml feed parsing.

Janardhanan.S