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

ShimmerFrameLayout inside ShimmerFrameLayout issue #66

Closed
ArturMytsko opened this issue Oct 2, 2018 · 5 comments
Closed

ShimmerFrameLayout inside ShimmerFrameLayout issue #66

ArturMytsko opened this issue Oct 2, 2018 · 5 comments

Comments

@ArturMytsko
Copy link

ArturMytsko commented Oct 2, 2018

In case you have ShimmerFrameLayout (outer) inside ShimmerFrameLayout (inner), and you start shimmer for inner view - it also starts shimmer for outer view (at least animate it). Could you please check this?

@xiphirx
Copy link
Contributor

xiphirx commented Oct 2, 2018

Are you reusing the same shimmer instance?

@ArturMytsko
Copy link
Author

ArturMytsko commented Oct 3, 2018

Nope, they are two different instances. I had to do setShimmer() with no visual effects for outer instance in order to overcome this.
If you are not able to reproduce it - I can send you example

@xiphirx
Copy link
Contributor

xiphirx commented Oct 10, 2018

I'll have to check it out, I'll let you know when I do.

@xiphirx
Copy link
Contributor

xiphirx commented Oct 18, 2018

I just tried this out and I wasn't able to see that starting the inner shimmer caused the outer shimmer to also start. Check that you dont have auto start specified (its on by default) on the outer shimmer.

@ArturMytsko
Copy link
Author

Oh.. I've missed the point with auto-start option. Sorry for bothering.

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

2 participants