I've set "id" for the ExpansionHeader and ExpansionLayout and expanded(opened) my item, but after return on fragment I get closed item with right state of "headerIndicator".
Why and how fix it?
The right behavior is the item should be open after return.
Thx
@florent37
After debugging, I've caught a break point into setHeight (ExpansionLayout) and height always equals 0!
@florent37
Also, if U expanded anyone item then the method:
private void setHeight(float height) {...}(ExpansionLayout)
is calling on the infinity loop.
I've set "id" for the
ExpansionHeader
andExpansionLayout
and expanded(opened) my item, but after return on fragment I get closed item with right state of "headerIndicator".Why and how fix it?
The right behavior is the item should be open after return. Thx
@florent37 After debugging, I've caught a break point into
setHeight
(ExpansionLayout) andheight
always equals 0!My XML is: