Closed ghost closed 7 years ago
Set a listener using setOnExpansionUpdateListener(OnExpansionUpdateListener listener)
.
The callback gives you the expansion ratio as a float from 0 (collapsed) to 1 (expanded). Simply set your bitmap accordingly.
Thanks for quick reply.
Implement same thing like website accordion. It has an icon as indicator to whether its expand or collapse.
Here an example : https://roaderapp.com/faq.html