Skip to content

在一个可滚动的RecyclerView中,设置会导致卡顿 #8

Open

Description

@GMF018
No description provided.

Activity

  1. Liberuman commented on Apr 9, 2020

    @Liberuman
    Owner

    @GMF018 示例中用的就是RecyclerView, 没有出现卡顿问题。如果你的RecyclerView中的Item宽高一致,可以考虑复用同一个ShadowDrawable以进行优化。具体创建ShadowDrawable对象可查看setShadowDrawable方法的实现。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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