lucasr / twoway-view

[DEPRECATED] RecyclerView made simple
5.23k stars 1.02k forks source link

Items changing height results in empty space #156

Open zoltish opened 9 years ago

zoltish commented 9 years ago

I animate height changes in the RecyclerView when the user taps an item with the help of a onPreDrawListener.

When tapping an item with ListLayoutManager applied, its height is for a short moment changed to the final value of the animation height and then it bumps back and starts the animation. As the animation completes everything looks fine but when I scroll up/down I notice quite large tiles that are just empty.

ubuntudroid commented 9 years ago

We observed a similar behavior. We're adapting the height of the items in our recycle view when the actual pictures have been loaded via network. However resizing the items seems to result in an added padding at the very top of the list. Strange enough this only happens on Kitkat and below, but not on Android L.

ChristopheVersieux commented 9 years ago

I confirm this issue,

If more help needed, I can send code to reproduce and confirm if future fix is working, in case you need help to debug.