메소드 | 설명 | |
---|---|---|
Add ( string key, ImageInformation imageInformation, ISelfDisposingBitmapDrawable bitmap ) : void | ||
Add ( string key, ImageInformation imageInformation, WriteableBitmap bitmap ) : void | ||
Clear ( ) : void | ||
Get ( string key ) : ImageInformation>.Tuple |
||
Get ( string key ) : ImageInformation>.Tuple |
||
GetBitmapDrawableFromReusableSet ( Android.Graphics.BitmapFactory options ) : ISelfDisposingBitmapDrawable |
Attempts to find a bitmap suitable for reuse based on the given dimensions. Note that any returned instance will have SetIsRetained(true) called on it to ensure that it does not release its resources prematurely as it is leaving cache management. This means you must call SetIsRetained(false) when you no longer need the instance.
|
|
GetBitmapSize ( Android.Graphics.Drawables.BitmapDrawable bmp ) : int | ||
GetInfo ( string key ) : ImageInformation | ||
Remove ( string key ) : void | ||
RemoveSimilar ( string baseKey ) : void |
메소드 | 설명 | |
---|---|---|
CleanAbandonedItems ( ) : void | ||
GetCacheSizeInPercent ( float percent ) : int |
Gets the memory cache size based on a percentage of the max available VM memory.
|
|
GetMaxCacheSize ( int maxCacheSize ) : int | ||
ImageCache ( int maxCacheSize, IMiniLogger logger, bool verboseLogging ) : Android.Graphics | ||
ImageCache ( int maxCacheSize, IMiniLogger logger ) : FFImageLoading.Concurrency |
public Add ( string key, ImageInformation imageInformation, ISelfDisposingBitmapDrawable bitmap ) : void | ||
key | string | |
imageInformation | ImageInformation | |
bitmap | ISelfDisposingBitmapDrawable | |
리턴 | void |
public Add ( string key, ImageInformation imageInformation, WriteableBitmap bitmap ) : void | ||
key | string | |
imageInformation | ImageInformation | |
bitmap | WriteableBitmap | |
리턴 | void |
public Get ( string key ) : ImageInformation>.Tuple |
||
key | string | |
리턴 | ImageInformation>.Tuple |
public Get ( string key ) : ImageInformation>.Tuple |
||
key | string | |
리턴 | ImageInformation>.Tuple |
public GetBitmapDrawableFromReusableSet ( Android.Graphics.BitmapFactory options ) : ISelfDisposingBitmapDrawable | ||
options | Android.Graphics.BitmapFactory | Bitmap creation options. |
리턴 | ISelfDisposingBitmapDrawable |
public static GetBitmapSize ( Android.Graphics.Drawables.BitmapDrawable bmp ) : int | ||
bmp | Android.Graphics.Drawables.BitmapDrawable | |
리턴 | int |