From 5add56ec49cef52db7ebd3006665f318a5d16dd3 Mon Sep 17 00:00:00 2001 From: Vairavan Srinivasan Date: Wed, 27 Feb 2013 21:10:17 -0800 Subject: SectionIndexer: Update Javadoc for ExpandableListAdapters SectionIndexer could be implemented by ExpandableListAdapters that considers groups and sections as synonymous and such adapters have to account for collapsed groups and should return appropriate section/position. Change-Id: If0dec268da8fa30bd26f4d0aaad7e644a9944313 --- core/java/android/widget/SectionIndexer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/java/android/widget/SectionIndexer.java b/core/java/android/widget/SectionIndexer.java index 24f894cbe0ad..a1c71f431fa3 100644 --- a/core/java/android/widget/SectionIndexer.java +++ b/core/java/android/widget/SectionIndexer.java @@ -20,7 +20,9 @@ package android.widget; * Interface that should be implemented on Adapters to enable fast scrolling * in an {@link AbsListView} between sections of the list. A section is a group of list items * to jump to that have something in common. For example, they may begin with the - * same letter or they may be songs from the same artist. + * same letter or they may be songs from the same artist. ExpandableListAdapters that + * consider groups and sections as synonymous should account for collapsed groups and return + * an appropriate section/position. */ public interface SectionIndexer { /** -- cgit v1.2.3-59-g8ed1b