Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Asynchronous animation for items in a RecyclerView #135

@PavelLida

Description

@PavelLida

Hi. There is such a problem.
I have a RecyclerView list which contains, let's say 100 elements, each element is a viewHolder -> textView wrapped in a shimmer.

When the RecyclerView calls the bind method I start the shimmer animation and my text starts to flicker(shimmer effect), it is ok, good.

BUT as soon as I scroll down the list below, the next elements also start the shimmer (because bind is called for new item).
And it turns out that the start time of the shimmer is different for elements.

Is there a way to make the shimmer animation for all elements in list synchronous?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions