ExpandableTextView
ExpandableTextView copied to clipboard
Defult open?
how do U setXXXX(), this is Defult Open~~
I want set ExpandableTextview Expansed,but Not OK~~
public void setExpandsed() {
onClick(mTv);
}
Currently, the default state is collapsed mode. I will consider adding an option of specifying the default state in the next release.
@ikkyu0319 You can try by performing a click on the ExpandableTextView like this:
ExpandableTextView view = (ExpandableTextView) findViewById(R.id.view);
view.findViewById(R.id.expand_collapse).performClick();