Skip to content

ViewPager width changed when refresh data #11

@vijay81

Description

@vijay81

I'm developing an Android application with a Kanban-style board using a custom DragBoardView that extends DragLayout and contains a PagerRecyclerView. The PagerRecyclerView is designed to display columns horizontally, and each column contains a RecyclerView of items. When I update the data in the columns and call notifyDataSetChanged() on the adapter, the entire layout of the columns is being recreated unnecessarily. This causes a noticeable spacing issue where the columns shift or become misaligned.

Thanks you.

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