0
J'ai également implémenté le SectionIndexer sur mon adaptateur et le FastScroll. Le défilement rapide apparaît, mais l'indexeur alphabétique est toujours "A" lorsque je fais défilerAndroid SectionIndexer n'affiche pas l'aperçu alphabétique au-delà de "A"
La liste contient environ 1000 éléments.
Voici ma mise en œuvre du SectionIndexer.
@Override
public int getPositionForSection(int section) {
return alphaIndexer.getPositionForSection(section);
}
@Override
public int getSectionForPosition(int position) {
return alphaIndexer.getSectionForPosition(position);
}
@Override
public Object[] getSections() {
return alphaIndexer.getSections();
}
quelle était l'erreur? S'il vous plaît poster la solution. – Slay