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?
I want to implement a button press and release animation. Therefore, I add the animations in
onSetListeners
.I call
clearAnimation
inonBindView
but still I have problems. The views sometimes stay on top of theRecyclerView
and then the stay there forever. I think this comes from theRecyclerView
animation handling. I'm really not sure how to solve that, but maybepublic boolean onFailedToRecycleView (VH holder)
is the place to callclearAnimations
on the view instead of theonBind
. But I just can't override this function from theBaseEasyRecyclerAdapter
as theViewHolder
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?