开发者

CursorAdapter with Alphabet-indexed Section Headers in android

I have to make own contact list, where i want to put section headers. In contact list i have to merge contacts (native co开发者_StackOverflow中文版ntacts and some contacts comes from our server) Here is an example of section header in list view. In that example all data will be read from database before showing the list. I don't want to read all data but read only data which will display in screen (8 to 9 rows), as list scroll read next data. Can we give the data to one by one row to the SimpleCursorAdapter ?


write your own adapter which reads directly from the database in case its not in cache. This should be a good solution.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜