Info
Version: | 0.0.1 |
Author(s): | Daniel Luberda, Fabien Molinet |
Last Update: | Sunday, March 10, 2019 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/luberda-molinet/FFImageLoading |
NuGet Url: | https://www.nuget.org/packages/Stuph.Xamarin.FFImageLoading.Forms |
Install
Install-Package Stuph.Xamarin.FFImageLoading.Forms
dotnet add package Stuph.Xamarin.FFImageLoading.Forms
paket add Stuph.Xamarin.FFImageLoading.Forms
Stuph.Xamarin.FFImageLoading.Forms Download (Unzip the "nupkg" after downloading)
Dependencies
- Stuph.Xamarin.FFImageLoading(>= 0.0.1)
- Xamarin.Forms(>= 2.4.0)
Tags
Ensure you call CachedImageRenderer.Init() on each platform!!!
Features:
- Xamarin.iOS, Xamarin.Android, Xamarin.Forms support
- Configurable disk and memory caching
- Multiple image views using the same image source (url, path, resource) will use only one bitmap which is cached in memory (less memory usage)
- Deduplication of similar download/load requests.
*(If 100 similar requests arrive at same time then one real loading will be performed while 99 others will wait).*
- Error and loading placeholders support
- Images can be automatically downsampled to specified size (less memory usage)
- Fluent API which is inspired by Picasso naming
- SVG / WebP / GIF support
- Image loading Fade-In animations support
- Can retry image downloads (RetryCount, RetryDelay)
- Android bitmap optimization. Saves 50% of memory by trying not to use transparency channel when possible.
- Transformations support
- BlurredTransformation
- CircleTransformation, RoundedTransformation, CornersTransformation, CropTransformation
- ColorSpaceTransformation, GrayscaleTransformation, SepiaTransformation, TintTransformation
- FlipTransformation, RotateTransformation
- Supports custom transformations (native platform `ITransformation` implementations).