Please complete the following information:
- Library Version [v1.0.1]
- Affected Device(s) [Android Emulator]
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.

Expected Behavior:
We shouldn't have a redundant amount of views.
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
updateExpandableLayoutinvokes 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
updateExpandableLayoutwe add aremoveAllViewsmethod to clear our view, then view hierarchy looks much simpler.Expected Behavior:
We shouldn't have a redundant amount of views.