2323 * Additional methods that when implemented make an
2424 * {@link ExpandableListAdapter} take advantage of the {@link Adapter} view type
2525 * mechanism.
26- *
27- * An {@link ExpandableListAdapter} declares one view type for its group items
26+ * <p>
27+ * An {@link ExpandableListAdapter} declares it has one view type for its group items
2828 * and one view type for its child items. Although adapted for most {@link ExpandableListView}s,
29- * these values should be tuned heterogeneous {@link ExpandableListView}s. Lists that contain
30- * different types of group and/or child item views, should use an adapter that implements this
31- * interface. This way, the recycled views that will be provided to
29+ * these values should be tuned for heterogeneous {@link ExpandableListView}s.
30+ * </p>
31+ * Lists that contain different types of group and/or child item views, should use an adapter that
32+ * implements this interface. This way, the recycled views that will be provided to
3233 * {@link android.widget.ExpandableListAdapter#getGroupView(int, boolean, View, ViewGroup)}
3334 * and
3435 * {@link android.widget.ExpandableListAdapter#getChildView(int, int, boolean, View, ViewGroup)}
@@ -48,7 +49,7 @@ public interface HeterogeneousExpandableList {
4849 * . Note: Integers must be in the range 0 to {@link #getGroupTypeCount} - 1.
4950 * {@link android.widget.Adapter#IGNORE_ITEM_VIEW_TYPE} can also be returned.
5051 * @see android.widget.Adapter#IGNORE_ITEM_VIEW_TYPE
51- * @see getGroupTypeCount()
52+ * @see # getGroupTypeCount()
5253 */
5354 int getGroupType (int groupPosition );
5455
@@ -65,7 +66,7 @@ public interface HeterogeneousExpandableList {
6566 * Note: Integers must be in the range 0 to {@link #getChildTypeCount} - 1.
6667 * {@link android.widget.Adapter#IGNORE_ITEM_VIEW_TYPE} can also be returned.
6768 * @see android.widget.Adapter#IGNORE_ITEM_VIEW_TYPE
68- * @see getChildTypeCount()
69+ * @see # getChildTypeCount()
6970 */
7071 int getChildType (int groupPosition , int childPosition );
7172
@@ -78,13 +79,11 @@ public interface HeterogeneousExpandableList {
7879 * . If the adapter always returns the same type of View for all group items, this method should
7980 * return 1.
8081 * </p>
81- * <p>
8282 * This method will only be called when the adapter is set on the {@link AdapterView}.
83- * </p>
8483 *
8584 * @return The number of types of group Views that will be created by this adapter.
86- * @see getChildTypeCount()
87- * @see getGroupType()
85+ * @see # getChildTypeCount()
86+ * @see # getGroupType(int )
8887 */
8988 int getGroupTypeCount ();
9089
@@ -97,13 +96,11 @@ public interface HeterogeneousExpandableList {
9796 * , for any group. If the adapter always returns the same type of View for
9897 * all child items, this method should return 1.
9998 * </p>
100- * <p>
10199 * This method will only be called when the adapter is set on the {@link AdapterView}.
102- * </p>
103100 *
104101 * @return The total number of types of child Views that will be created by this adapter.
105- * @see getGroupTypeCount()
106- * @see getChildType()
102+ * @see # getGroupTypeCount()
103+ * @see # getChildType(int, int )
107104 */
108105 int getChildTypeCount ();
109106}
0 commit comments