Xamarin.ImageLoader 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Xamarin.ImageLoader --version 1.0.1
NuGet\Install-Package Xamarin.ImageLoader -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xamarin.ImageLoader" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.ImageLoader --version 1.0.1
#r "nuget: Xamarin.ImageLoader, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xamarin.ImageLoader as a Cake Addin
#addin nuget:?package=Xamarin.ImageLoader&version=1.0.1

// Install Xamarin.ImageLoader as a Cake Tool
#tool nuget:?package=Xamarin.ImageLoader&version=1.0.1

ImageLoader

A Reusable component to Download Image directly from URL. This also supportes Caching the downloaded images efficiently

Usage:

    using Subsystems.Cache.External;
    using Subsystems.ImageLoader.External;
    ....
    ....
    
    private CMPCacheProxy _cacheProxy;
    private CMPImageLoaderProxy _imageLoaderProxy;
    ....
    ....
    
    var baseFolderPathString = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
    _cacheProxy = new CMPCacheProxy(baseFolderPathString, 5 * 1024);
    _cacheProxy.ExpiryDays(1);
    

Explicit Cache

Inject Cache explicitly <br>

    _imageLoaderProxy = new CMPImageLoaderProxy("<Image_URL>", _cacheProxy);
    await _imageLoaderProxy.LoadImageAsync();
    

Implicit Cache

This will create a default Cache with 7 days Expiry <br>

    _imageLoaderProxy = new CMPImageLoaderProxy("<Image_URL>", <sieLimitInKB>);        
    await _imageLoaderProxy.LoadImageAsync();
Product Compatible and additional computed target framework versions.
MonoAndroid monoandroid81 is compatible. 
Xamarin.iOS xamarinios10 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Xamarin.ImageLoader:

Package Downloads
Xamarin.CustomImageView.iOS

A custom ImageView component for iOS with inteligent Caching, Handle Cache expiry, Automatic Download

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 884 11/10/2018
1.0.2 785 10/22/2018
1.0.1 819 8/2/2018
1.0.0 814 8/1/2018

1. Initial release for ImageLoader component
2. Caching in-built. But a Custom Cache component can also be injected; this overrides default Caching
3. Not thread Safey; consumer has to implement this
4. 1:1 relationship between Loader and Image URL