Open top menu


Indicator for ExpandableListView ?


Explain how to used group indicator for custom ExpandableListView in android. you should be add line of code in group view in custom Adapter class.


int imageResourceId = isExpanded ? android.R.drawable.arrow_up_float : android.R.drawable.arrow_down_float;
image.setImageResource(imageResourceId);
image.setVisibility(View.VISIBLE);



ExpandableListView Example

Tagged

0 comments