Improve Shadows performance on Android
See original GitHub issueI just implemented a BitmapCache for Android shadows.
It means that every shadows with the same properties (Width/Height, Blur, Color, Opacity), share the same Bitmap instance.
It should greatly improve the performance of Shadows in the list view.
Could some of you can Beta-test and tell me if you see improvements, and/or regressions?
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (16 by maintainers)
Top Results From Across the Web
Create Shadows and Clip Views
Assign Elevation to Your Views; Customize View Shadows and Outlines ... Shadows are drawn by the parent of the elevated view, and thus ......
Read more >Pixelated shadow in Android. Any solutions?
The shadow in android is poor. Any solution? I've chosen the fantasy quality with highest shadow resolution. Soft shadow option is enabled ...
Read more >How to Improve Your Experience on Shadow
With just a few settings, you can improve your experience on Shadow until it's ... Run a speed test to see if your...
Read more >How to add shadows in Android
You can further improve performance by using LruCache. We only have three varieties of shadows to choose from, and the choice of shapes...
Read more >Poor performance on Android due to CSS Drop Shadows
I am seeing poor performance (such as when scrolling through a list of cards), interestingly, when I have a drop-shadow css applied to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

meanwhile i tested it out on android - works faster indeed!! ListViews scroll faster than Musk’s rockets startup)
Nevermind, after a complete cleaning, deleting and rebuilding the project it started to work as a charm!! Thanks!