shimmer-android icon indicating copy to clipboard operation
shimmer-android copied to clipboard

Question - Can we ignore any child view(s) from shimmering?

Open RahulSDeshpande opened this issue 1 year ago • 0 comments

Currently any view under the <ShimmerFrameLayout> will shimmer by default.

I was wondering whether this shimmer library has a feature where - I can ignore any child view(s) from shimmering!!

Example:

<com.facebook.shimmer.ShimmerFrameLayout>
    <LinearLayout>
        <TextView id="tv1"/>
        <TextView id="tv2"/>
        <TextView id="tv3"/>
    </LinearLayout>
</com.facebook.shimmer.ShimmerFrameLayout>

Can Shimmer library ignore tv2 TextView from shimmering?

I know the obvious answer would be - remove that from the layout.. 😄 But I would like to keep that & still ignore its shimmering.

Any answers would highly be appreciated!! 👍🏼 Cheers!!

RahulSDeshpande avatar Jun 01 '23 14:06 RahulSDeshpande