0

This thing has been a cause of concern for me for the last week or so. I have a web service from which I can fetch xml data and parse it into string arrays. I want to fetch data from the web service dynamically on scroll and the string arrays to an adapter so that I can present them dynamically. I need some help for this one. Kindly help me with this. Thank you.

Dinesh
  • 181
  • 1
  • 3
  • 17
  • I think this is what you are looking for http://stackoverflow.com/questions/1080811/android-endless-list. – avendael Nov 09 '13 at 17:33

1 Answers1

0

In Adapter add some method for dynamic updating the views.

public void addSome(String element)
{

   //Update your arraylist here

   notifyDateSetChanged();//This is used to refresh adapter.

}

Or refer the Lazy-loading examples in stackoverflow.

Ramesh Akula
  • 5,720
  • 4
  • 43
  • 67