ExpandableLayout icon indicating copy to clipboard operation
ExpandableLayout copied to clipboard

How overcome XML attribute "app:ael_expanded" progromatically ?

Open xsadiator opened this issue 9 years ago • 1 comments

The library is working fine in my fragment setting the XML attribute to app:ael_expanded="false" and toggling it from the fragment class, however I want in some situations to overcome the XML attribute and make it start expanded not collapsed. I tried expandedLayout.expand() and expandedLayout.setExpanded(true) however they are not working and even disabling the normal toggle() function. How can I do that ?

Please note I tried the above methods in different methods of the fragment lifecycle with no result.

xsadiator avatar Jul 19 '16 21:07 xsadiator

Same problem. Did you find a solution ?

aat-antoine avatar Jul 03 '17 07:07 aat-antoine