Skip to content

Custom Item Animation #40

@MFlisar

Description

@MFlisar

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions