title: How to update ListView on scrolling while retrieving data from server in Android?
body: <p>Currently, I'm using AsyncTask to handle Http connection and retrieve data as JSON format.<br>
     Loading all data is trivial but it consumes too much time, so I decided to switch to load 10 items at a time using <code>LIMIT OFFSET</code> (mysql).<br>
  Next I set up the event <code>onScroll</code> for my list view to create a new <code>AsyncTask</code> each time user scroll. However, from what I read, <code>AsyncTask</code> is stored in a thread pool which is limited 5 threads at a time, so I'm not sure this is a right approach. I'm newbie to client/server app, so could I anyone give me an advice on this issue? Any related article, documentation would be greatly appreciated. </p>