ExpandableLayout
ExpandableLayout copied to clipboard
How overcome XML attribute "app:ael_expanded" progromatically ?
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.
Same problem. Did you find a solution ?