Baserecyclerviewadapterhelper: Bug in SLIDEIN_BOTTOM animation when using GridLayoutManager

Created on 14 Jul 2016  ·  7Comments  ·  Source: CymChad/BaseRecyclerViewAdapterHelper

I have a question about SLIDEIN_BOTTOM animation when using GridLayoutManager,
the last item (here is item 5) not slide in,

slidebottom

I find the problem is the last item height is 0, any idea to fix it ?

All 7 comments

Not find out why

I find the height of item 5 is 0, so it can't animate.
Maybe it's too early to call animate?
I will help to find the problem.

I've tested 12 data, also is the only article 5 not slide in,strange

Find the problem The fifth didn't perform onViewBindHolder method

Adapter is reuse mechanism lead to the problems

compile 'com.github.CymChad:BaseRecyclerViewAdapterHelper:v1.9.6'

fix #161

Was this page helpful?
0 / 5 - 0 ratings