facebookarchive / shimmer-android

An easy, flexible way to add a shimmering effect to any view in an Android app.
http://facebook.github.io/shimmer-android/
Other
5.31k stars 698 forks source link

Dynamic Rendering of Views for Varying Screen Height #112

Open ShrutiC-git opened 3 years ago

ShrutiC-git commented 3 years ago

We are working with ShimmerFrameLayout for a Recycler-view structure. It seems that we have to set the number of skeleton rv layouts to render explicitly (<include layout .../>) .

How to take care of handling dynamic screen-sizes as we design the skeleton layout? Plus, there is the added cost of the animation breaking as the layout gets bigger.

JHM69 commented 3 years ago

faced same issue back in 2020. I couldn't able to fix it then.