Skip to content

RecyclerView - refresh only single item #2029

@Noiling

Description

@Noiling

I read in an old post, that you do not support payloads inside the onbindviewholder. I am having a nested recyclerview with a vertical and horizontal list. If an item changed, I used to tell the adapter through the payloads which item should be updated. Now it calls "datasetchanged" (done by the listener) and refreshes the whole adapter, causing my views immediately to jump to the left.

Is there another way to avoid this issue? Maybe something like "notifyitemchanged"?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions