nikhilpanju / FabFilter

Android app to showcase complex UI/Animations with and without MotionLayout
https://medium.com/@nikhilpanju22/complex-ui-animation-on-android-8f7a46f4aec4?sk=f1fab1861a655b042ff5e9c305a0e012
1.7k stars 221 forks source link

[BugFix] Fix showing different expand view height #5

Open amirrudd opened 4 years ago

amirrudd commented 4 years ago

when the height of expanded view is different for each item in the recycle view then the first one will be captured only and the ones bigger than the first captured height won't be displayed correctly and just part of them gets displayed.

This PR stores each item expand view height in the respected holder and when expanding gets the right height from the holder for the item