Comments (9)
It did but we changed some parts to be in ImageService only.
So for Forms, if you invalidate a single image, then you can do it with the custom renderer static method:
Or directly with
ImageService.Instance
:And if you want to invalidate all images then you should use ImageService.Instance
methods:
You can also see the Wiki: https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-API#clear-cache
from ffimageloading.
It would be nice if you could play with the new ImageService methods
from ffimageloading.
Ok, I'll add them for Window too. What about Forms? What do you think about static methods:
CachedImage.ClearCache()
CachedImage.RemoveKeyFromCache(string key)
?
from ffimageloading.
Fine for me. I still think that knowing from which cache it's removed would
make sense.
Most of the time you don't want to mess with disk cache
2015-11-20 13:49 GMT+01:00 Daniel Luberda [email protected]:
Ok, I'll add them for Window too. What about Forms? What do you think
about static methods:
- CachedImage.ClearCache()
- CachedImage.RemoveKeyFromCache(string key)
?
—
Reply to this email directly or view it on GitHub
#71 (comment)
.
from ffimageloading.
Ok, I can add an enum as a parameter :)
from ffimageloading.
Done with a52d91d a1ccfa5 a2625c9
from ffimageloading.
That's great ! 👍
from ffimageloading.
Forgot to include Forms static methods for clearing cache. But I'll do it very soon :)
from ffimageloading.
It doesn't appear the Forms static method for clearing cache ever made it in?
from ffimageloading.
Related Issues (20)
- Check if Image Server side has changed from Cached version
- [Bug]In Xamarin.Forms (Android) throws System.ArgumentException in ImageService.SetTaskForTarget (FFImageLoading.Work.IImageLoaderTask currentTask).
- Support for image width/height query in the URL
- Some SVG images are displaying and some are not HOT 3
- CacheKeyFactory used in a CollectionView causes incorrect images to load.
- ReplaceStringMap Question
- Images from URL don't show at all on iOS in Xamarin Forms 5 app HOT 1
- For MAUI see here.... HOT 3
- Image Adjustments in Xamarin
- [ISSUE] [Android] GIF animation weird behavior
- App crashes after calling ImageService.SetTaskForTarget HOT 1
- Guid inside URL is changed
- .Net 6 support HOT 4
- Incomplete downloaded image is cached.
- Images disappear on Android after pressing the (hardware) Back button HOT 1
- .Net 8 support HOT 2
- RotateTransformation does not rotate images on iOS 17
- Image won't load in Maui Windows app
- Inquiry about Data Collection
- On windows image download fails randomly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffimageloading.