Android - CursorAdapter with AlphabetIndexer
I'm using a CursorAdapater for my ListView, and I also want to use an AlphabetIndexer with sections
The issue is when I scroll ths ListView, there is a kind of overflow because of sections : if I have 20 rows in the cursor and 4 sections, the cursor try to go to position 21, 22 etc, wich create an IllegalStateException.
Does anyone have an idea to correct this ?
I really need a CursorAdapater to custom my v开发者_StackOverflow社区iew and have a directe access to my data (things that dont seem to be available with SimpleCursorAdapator or ArrayAdapter)
Thanks
精彩评论