Ffimageloading: Image Cache Windows UWP Xaml

Created on 9 May 2016  路  5Comments  路  Source: luberda-molinet/FFImageLoading

Hi everyone,
How to implement image cache using xaml? There are a property call CacheDuration in xaml but the documentation doesn't clear. Do you have some example with CacheDuration=2 days?
I would like download images only each 2 days.
Thanks.

Most helpful comment

When using Windows UWP XAML FFImage.CacheDuration is an int which sets cache duration in days, 1 = 1day, 2 = days and so on.

All 5 comments

When using Windows UWP XAML FFImage.CacheDuration is an int which sets cache duration in days, 1 = 1day, 2 = days and so on.

@daniel-luberda Thanks!! I don't understood this, so, I have this code for two days:
<ff:FFImage LoadingPlaceholder="loading.png" ErrorPlaceholder="error.png" Source="{Binding img}" RetryCount="3" RetryDelay="200" CacheDuration="2" />
Now, I undestand!
And How do I set the images stored in cache in my list? It is auto? Thanks. :)

No problem :) Yes, it's automatically cached in memory and disk (for offline usage).

@daniel-luberda Oh thanks!! :)

@vime-o can we close this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RaZp29 picture RaZp29  路  4Comments

JeremyBP picture JeremyBP  路  5Comments

CNDOGTA picture CNDOGTA  路  3Comments

BurningAXE picture BurningAXE  路  5Comments

K232 picture K232  路  3Comments