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

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

Open
RahulSDeshpande opened this issue Jun 1, 2023 · 0 comments
Open

Comments

@RahulSDeshpande
Copy link

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!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant