I would like to know that is there any way to update the icon of expand button programatically?
I am using following lines of code already:
header.setButtonExpandVisible(true);......cardViewNative.setOnClickListener(new View.OnClickListener() {@Overridepublic void onClick(View view) {card.doToogleExpand();}});
``
All I want is to change the expand button according to the toggle action. Right now i am using OnClickListener on cardViewNative to perform card expansion.
I would like to know that is there any way to update the icon of expand button programatically?
I am using following lines of code already:
header.setButtonExpandVisible(true);
...
...
cardViewNative.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
card.doToogleExpand();
}
});
`` All I want is to change the expand button according to the toggle action. Right now i am using OnClickListener on cardViewNative to perform card expansion.