Hi. There is such a problem.
I have a RecyclerView list which contains, let's say 100 elements, each element is a viewHolder-> textViewwrapped in a shimmer.
When the RecyclerView calls the bindmethod 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?
Hi. There is such a problem. I have a
RecyclerView
list which contains, let's say 100 elements, each element is aviewHolder
->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?