android - expandable list view with xml entries -
i want display expandable list view in android contains constant strings defined in xml file in resources app should support multiple languages cleanest way keep strings
i know possible in normal listview can use property
android:entries="@array/stringarray"
but when use expandable list gives me exception should use expandable list adapter instead of list adapter know not using adapters "i think implicit"
so obliviously "entries" usable expandable lists cant find way make work
any suggestions welcome
well think easiest solution create expandable list adapter object , bind expandable list object. when add members of string array adapter elements, expandable list modified accordingly. @ simpleexpandablelistadapter constructors find out how implement idea mentioned above.
Comments
Post a Comment