c# - Windows 10 UWP - How to preload a page before displaying it? -


i'm working on windows 10 app involves using lot of images. stands, navigating 1 page results in few seconds of "pop-in" various images on page load , result rather janky

so tl;dr - is possible preload contents of page before displaying user transition page x page y smooth?

i've tried googling solution whether wrong vernacular i'm using or can't done, don't know.

is possible preload contents of page before displaying user transition page x page y smooth?

in uwp app, before page loaded, frame.navigate() must called. there should have actions in method, example: allocate memory, load resource, rendering. scenario, in view, impossible preload resource of page before showing them.

avoiding using images huge size possible solution. or, if want load lot of small images,

you can bind list controls arbitrarily large data sources, , still achieve high performance, using incremental loading.

when need load lot of images in 1 page, right way using isupportincrementalloading data binding. can refer data binding in depth.

here official xaml data binding sample, scenario 8 incremental loading. although windows 8.1 app, method can used in uwp app.

i wrote simple incrementalloading demo here, uses gridview , image inside load , show 1000 images in 1 page.


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -