ExpandableTextView icon indicating copy to clipboard operation
ExpandableTextView copied to clipboard

Defult open?

Open ikkyu0319 opened this issue 9 years ago • 3 comments

how do U setXXXX(), this is Defult Open~~

ikkyu0319 avatar Apr 15 '15 08:04 ikkyu0319

I want set ExpandableTextview Expansed,but Not OK~~

public void setExpandsed() {
    onClick(mTv);
}

ikkyu0319 avatar Apr 16 '15 15:04 ikkyu0319

Currently, the default state is collapsed mode. I will consider adding an option of specifying the default state in the next release.

Manabu-GT avatar Jun 14 '15 16:06 Manabu-GT

@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();

DenisMondon avatar Oct 17 '15 21:10 DenisMondon