Sometimes before closing when the view is scrolled out(fling action) and recycled, the expandable layout bugs out with partially opened view with the height expanded only part way, when calling collapse on that the height doesn't reduce but the views inside disappear.
Also the duration is set as 1000ms.
Also sometimes it won't expand at all, also the expandable area is not a small one like in the example, its around 200dp in height.