Closed penpens closed 5 years ago
Try to change the position of the last Line ''header.setLayout''
Le mar. 18 sept. 2018 à 09:17, penpens notifications@github.com a écrit :
Please, I need this function...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/florent37/ExpansionPanel/issues/33#issuecomment-422282215, or mute the thread https://github.com/notifications/unsubscribe-auth/AFfQXKp7N7Qhj-dD8N89QNJY_178BIGTks5ucJ4ngaJpZM4VX8uq .
Not working. At the end, finally, I made an working workaround using performClick(). Anyway, thanks for the help.
findViewById(R.id.lay_sms).findViewWithTag("headerProg1").post(new Runnable() {
@Override
public void run() {
findViewById(R.id.lay_sms).findViewWithTag("headerProg1").performClick();
}
});
Hi I'm trying to toggle the layout from code, but it does not work.
Calling toggle() (not expanding):
Pressing on the header (and works fine):
My code:
Thanks in advance.