muak / SvgImageSource

Custom ImageSource that will become able to show svg image for Xamarin.Forms
MIT License
62 stars 11 forks source link

Delay displaying SVG #10

Closed Ghasan closed 4 years ago

Ghasan commented 4 years ago

Hi,

I noticed that SVG images take a while to load specially on landing pages, which is not good as the flicker is visible to users.

Is there any way to work around this? Maybe cache the image beforehand or some sort of that?

Thanks.

Ghasan commented 4 years ago

It turns out that the issue is related to CarouselView. If I use SVG inside an carousel there is around 300 ms delay from when the page loads to when the SVG appears. Inside other views, it displays instantly.