Custom Item Animation
MFlisar opened this issue · 0 comments
MFlisar commented
I want to implement a button press and release animation. Therefore, I add the animations in onSetListeners
.
I call clearAnimation
in onBindView
but still I have problems. The views sometimes stay on top of the RecyclerView
and then the stay there forever. I think this comes from the RecyclerView
animation handling. I'm really not sure how to solve that, but maybe public boolean onFailedToRecycleView (VH holder)
is the place to call clearAnimations
on the view instead of the onBind
. But I just can't override this function from the BaseEasyRecyclerAdapter
as the ViewHolder
is not public.
Can I somehow do what I want? Maybe you even know better where the problem comes from and have some tipp for me?