question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve Shadows performance on Android

See original GitHub issue

I 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?

@themronion @Jerome-Liger

Sharpnado.Shadows.1.2.0-pre1.nupkg.zip

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:18 (16 by maintainers)

github_iconTop GitHub Comments

2reactions
themronioncommented, Sep 17, 2020

meanwhile i tested it out on android - works faster indeed!! ListViews scroll faster than Musk’s rockets startup)

1reaction
themronioncommented, Sep 18, 2020

Nevermind, after a complete cleaning, deleting and rebuilding the project it started to work as a charm!! Thanks!

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found