Skip to content

DraxView all rendering issues #169

@LeoLeoLeoLei

Description

@LeoLeoLeoLei

Hi, I'm encountering an issue here. In the layout of my app, when I long-press on element A, it transforms into a draggable item that can be moved to the left. If A is positioned over 1, it can be dropped. However, I've noticed that when there are 119 cards on the left side, as seen in the profile image, during the process of moving A to 1, all DraxView components are re-rendered, causing performance issues on Android devices with lower specifications. Do you have any solutions? I've tried using DraxList, but the issue persists.

Is there a way for me to avoid rendering all DraxView components? For example, can I render only the DraxView components within the visible area?

Can you help me with this? Thank you very much.

Pasted Graphic
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    androidSpecific to AndroidanimationRelated to animations such as snapbacks

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions