chartsbad.blogg.se

Listview vs expandable listview android studio
Listview vs expandable listview android studio





listview vs expandable listview android studio

The default style for an ExpandableListView provides indicators which will be shown next to Views given to the ExpandableListView.

listview vs expandable listview android studio

These indicators can be set using the setChildIndicator(Drawable) or setGroupIndicator(Drawable) (or the corresponding XML attributes). They tell you the current state of the expandable listview. This visually notifies you that you need to either expand to see more content or close the child. ↳ States and Indicatorsīeside the item views in your ExpandableListView normally you see an indicator. Here’s ExpandableListView‘s inheritance hierarchy: It has existed since the beginning of android, API level 1.Īs a class it derives from (/android/listview: public class ExpandableListView extends ListViewīoth reside in the android.widget package. Download ExpandableListView API Definition.ĮxpandableListView isn’t young, even if alot of developers haven’t used it yet.







Listview vs expandable listview android studio