lucasr / smoothie

[DEPRECATED] Easy async loading for Android's ListView/GridView
985 stars 163 forks source link

setItemManager prevents preview letter when implementing sectionIndexer #31

Open theoklink opened 8 years ago

theoklink commented 8 years ago

I have a ViewPager with 3 tabs, Tracks, Albums, Artists. Each fragment (alltracks, allalbums, allartists) is more or less identical apart from getting and displaying different media detail. For the fragments where I display albumart, the preview letter when fastscrolling does not show. However for the allartist tab, I do not display any albumart and have omitted mListView.setItemManager(builder.build()); The preview letter shows. Adding the ListView.setItemManager(builder.build()); code, preview letter dissappears.

The SectionIndexer callbacks are not being called: public Object[] getSections(); public int getPositionForSection(int sectionIndex) public int getSectionForPosition(int position)

Is there anyhing that can be done?