Code example for SectionIndexer

Methods: getSections

0
 
    public Object[] getSections() {
        if (mIndexer == null) {
            return new String[] { " " };
        } else { 
            return mIndexer.getSections();
        } 
    } 
 
    /** 
     * @return relative position of the section in the indexed partition 
     */ 
    public int getPositionForSection(int sectionIndex) {
        if (mIndexer == null) {
            return -1; 
        } 
 
        return mIndexer.getPositionForSection(sectionIndex);
    } 
 
Contextual code suggestions in your IDE  Get Codota for Java