Skip to content

Multiple RecyclerView items expanded when using CardView as Rootview #69

@BenjyTec

Description

@BenjyTec

I used the exact same layout for my recycler_item.xml file like in your demo project, and also pasted the code of the RecyclerView Adapter (except the custom Interpolator).
As soon as I change the LinearLayour in recycler_item.xml to a CardView along with the attribute CardUseCompatPadding="true", if I expand the first item, then scroll down, I can expand the last item without the first item collapsing. It is lagging while expanding, although I only have nine items in my RecyclerView. With the LinearLayout it is working perfectly.

Did I miss something? Maybe the issue isn't directly related to CardView, but rather to a sort of lag, as there also are items not collapsing when using a custom Interpolator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions