Property | Type | Description | |
---|---|---|---|
ImageService | System.Collections.Generic | ||
InitializeIfNeeded | void |
Method | Description | |
---|---|---|
Cancel ( bool>.Func |
Cancels tasks that match predicate.
|
|
Cancel ( bool>.Func |
Cancels tasks that match predicate.
|
|
CancelWorkFor ( IImageLoaderTask task ) : void |
Cancel any loading work for the given ImageView
|
|
Initialize ( ) : void |
Initializes FFImageLoading with a default Configuration. Also forces to run disk cache cleaning routines (avoiding delay for first image loading tasks)
|
|
Initialize ( |
Initializes FFImageLoading with a given Configuration. It allows to configure and override most of it. Also forces to run disk cache cleaning routines (avoiding delay for first image loading tasks)
|
|
InvalidateCacheAsync ( CacheType cacheType ) : Task |
Invalidates selected caches.
|
|
InvalidateCacheEntryAsync ( string key, CacheType cacheType, bool removeSimilar = false ) : Task |
Invalidates the cache for given key.
|
|
InvalidateDiskCacheAsync ( ) : Task |
Invalidates the disk cache.
|
|
InvalidateMemoryCache ( ) : void |
Invalidates the memory cache.
|
|
LoadCompiledResource ( string resourceName ) : |
Constructs a new TaskParameter to load an image from a compiled drawable resource.
|
|
LoadFile ( string filepath ) : |
Constructs a new TaskParameter to load an image from a file.
|
|
LoadFileFromApplicationBundle ( string filepath ) : |
Constructs a new TaskParameter to load an image from a file from application bundle.
|
|
LoadImage ( IImageLoaderTask task ) : void |
Queue an image loading task.
|
|
LoadStream ( Func |
Constructs a new TaskParameter to load an image from a Stream.
|
|
LoadUrl ( string url, System.TimeSpan cacheDuration = null ) : |
Constructs a new TaskParameter to load an image from a URL.
|
|
RemovePendingTask ( IImageLoaderTask task ) : void |
Removes a pending image loading task from the work queue.
|
|
SetExitTasksEarly ( bool exitTasksEarly ) : void |
Sets a value indicating whether ImageService will exit tasks earlier
|
|
SetPauseWork ( bool pauseWork ) : void |
Sets a value indicating if all loading work should be paused (silently canceled).
|
Method | Description | |
---|---|---|
ImageService ( ) : System.Collections.Generic | ||
InitializeIfNeeded ( |
public Cancel ( bool>.Func |
||
predicate | bool>.Func | Predicate for finding relevant tasks to cancel. |
return | void |
public Cancel ( bool>.Func |
||
predicate | bool>.Func | Predicate for finding relevant tasks to cancel. |
return | void |
public CancelWorkFor ( IImageLoaderTask task ) : void | ||
task | IImageLoaderTask | Image loading task to cancel. |
return | void |
public Initialize ( |
||
configuration | Configuration. | |
return | void |
public InvalidateCacheAsync ( CacheType cacheType ) : Task | ||
cacheType | CacheType | Memory cache, Disk cache or both |
return | Task |
public InvalidateCacheEntryAsync ( string key, CacheType cacheType, bool removeSimilar = false ) : Task | ||
key | string | Concerns images with this key. |
cacheType | CacheType | Memory cache, Disk cache or both |
removeSimilar | bool | If similar keys should be removed, ie: typically keys with extra transformations |
return | Task |
public LoadCompiledResource ( string resourceName ) : |
||
resourceName | string | Name of the resource in drawable folder without extension |
return |
public LoadFile ( string filepath ) : |
||
filepath | string | Path to the file. |
return |
public LoadFileFromApplicationBundle ( string filepath ) : |
||
filepath | string | Path to the file. |
return |
public LoadImage ( IImageLoaderTask task ) : void | ||
task | IImageLoaderTask | Image loading task. |
return | void |
public LoadStream ( Func |
||
stream | Func |
|
return |
public LoadUrl ( string url, System.TimeSpan cacheDuration = null ) : |
||
url | string | URL to the file |
cacheDuration | System.TimeSpan | How long the file will be cached on disk |
return |
public RemovePendingTask ( IImageLoaderTask task ) : void | ||
task | IImageLoaderTask | Image loading task to remove. |
return | void |
public SetExitTasksEarly ( bool exitTasksEarly ) : void | ||
exitTasksEarly | bool | If set to |
return | void |
public SetPauseWork ( bool pauseWork ) : void | ||
pauseWork | bool | If set to |
return | void |