FlexibleAdapter icon indicating copy to clipboard operation
FlexibleAdapter copied to clipboard

clearAllBut() not working when expanded is true

Open fadoers opened this issue 6 years ago • 0 comments

First of all, thank you for providing such an excellent project. When I expand all the items and then call the clearAllBut method, all top-level expandableItems will not be removed. This is the error message: default

This is the code location: default

Here is the use of the collapse method for each traversal, and the method will remove all subItems internally, and finally the value of itemCount will be greater than getItemCount() default

This is the case: default default default

fadoers avatar Feb 16 '19 02:02 fadoers