Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Item Animation #40

Open
MFlisar opened this issue Sep 13, 2015 · 0 comments
Open

Custom Item Animation #40

MFlisar opened this issue Sep 13, 2015 · 0 comments

Comments

@MFlisar
Copy link

MFlisar commented Sep 13, 2015

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant