Showing posts with label simplecursoradapter. Show all posts
Showing posts with label simplecursoradapter. Show all posts

Sunday, January 15, 2012

How to update listview whose data was queried from database through SimpleCursorAdapter?


I want to show the items queried from database in the listview with SimpleCursorAdapter. For example, there may be 20,000 items in the database. I want to just load 100 items(_id : 1-100) queried instead of load all items, when scrolling in the end of listview, load another 100 items(_id : 101-200) queried, how to achieve it? Any suggestion is welcome, thanks.