Describe the Bug:
First thing - great job! I like this library, looks pretty nice and API is clear to use. Unfortunately, I found some issues with the View Hierarchy with the views which are associated.
Whenever method updateExpandableLayout invokes then we don't delete the previous elements of the view. In summary, we have an under the hood huge view hierarchy.
Current behaviour:
I found some simple and fast fix to resolve this issue before invokes of updateExpandableLayout we add a removeAllViews method to clear our view, then view hierarchy looks much simpler.
Please complete the following information:
Describe the Bug: First thing - great job! I like this library, looks pretty nice and API is clear to use. Unfortunately, I found some issues with the View Hierarchy with the views which are associated.
Whenever method
updateExpandableLayout
invokes then we don't delete the previous elements of the view. In summary, we have an under the hood huge view hierarchy.Current behaviour:
I found some simple and fast fix to resolve this issue before invokes of
updateExpandableLayout
we add aremoveAllViews
method to clear our view, then view hierarchy looks much simpler.Expected Behavior:
We shouldn't have a redundant amount of views.