diff --git a/api/current.xml b/api/current.xml index 64f0c23de5e45..cd11b1d57214f 100644 --- a/api/current.xml +++ b/api/current.xml @@ -199698,6 +199698,8 @@ > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + * Returns the number of types of group Views that will be created by + * {@link android.widget.ExpandableListAdapter#getGroupView(int, boolean, View, ViewGroup)} + * . Each type represents a set of views that can be converted in + * {@link android.widget.ExpandableListAdapter#getGroupView(int, boolean, View, ViewGroup)} + * . If the adapter always returns the same type of View for all group items, this method should + * return 1. + *

+ *

+ * This method will only be called when the adapter is set on the {@link AdapterView}. + *

+ * + * @return The number of types of group Views that will be created by this adapter. + * @see getChildTypeCount() + * @see getGroupType() + */ + int getGroupTypeCount(); + + /** + *

+ * Returns the number of types of child Views that will be created by + * {@link android.widget.ExpandableListAdapter#getChildView(int, int, boolean, View, ViewGroup)} + * . Each type represents a set of views that can be converted in + * {@link android.widget.ExpandableListAdapter#getChildView(int, int, boolean, View, ViewGroup)} + * , for any group. If the adapter always returns the same type of View for + * all child items, this method should return 1. + *

+ *

+ * This method will only be called when the adapter is set on the {@link AdapterView}. + *

+ * + * @return The total number of types of child Views that will be created by this adapter. + * @see getGroupTypeCount() + * @see getChildType() + */ + int getChildTypeCount(); +}