This is a library to help creating expanding views with animation in Android
942
stars
120
forks
source link
How to expand one item of an ExpandingList at a time, thus opening a another item would close the previously opened item? #8
Open
SachinTanpure opened 7 years ago
Hi @SachinTanpure . You can store the last expanded item and call toggleExpanded() method when other item is expanded. Something like this:
If you check the example code in this repository you can put the code above in the line 96 of MainActivity.java