Closed ArturMytsko closed 5 years ago
Are you reusing the same shimmer instance?
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
I'll have to check it out, I'll let you know when I do.
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.
Oh.. I've missed the point with auto-start option. Sorry for bothering.
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?