【问题标题】:Android SectionIndexer Does not Show Alphabetic Preview beyond "A"Android SectionIndexer 不显示超出“A”的字母预览
【发布时间】:2010-08-25 15:43:10
【问题描述】:

我已经在我的适配器和 FastScroll 上实现了 SectionIndexer。出现快速滚动,但滚动时字母索引器始终为“A”

列表大约有 1000 项。

这是我对 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();
    }

【问题讨论】:

    标签: android


    【解决方案1】:

    我的代码中有一个错误,使用了错误的字段。

    【讨论】:

    • 出了什么问题?请发布解决方案。
    猜你喜欢
    • 1970-01-01
    • 2011-07-26
    • 2017-01-25
    • 2016-04-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多