alexrainman / CarouselView

CarouselView control for Xamarin Forms
MIT License
436 stars 178 forks source link

Preload screen #538

Open AndAShape opened 5 years ago

AndAShape commented 5 years ago

I have a web view on multiple screens. I'm loading each of them with an HTML string. This is set up all in one go but the HTML is only loaded when the carousel shows the screen. Thus, there's a flash of white before the HTML is rendered.

Using the debugger, I can see that the web view renderer's OnElementChanged is not called until the screen is shown.

How can I trigger the renderer ahead of time?

alexrainman commented 5 years ago

Usually the carousel keeps the previous and the next page already rendered. Will run some tests.