Methods
| Method |
Description |
|
com.mobwith.imgmodule.setResizeExecutor(ImageExecutor)
|
Sets the ImageExecutor to use when retrieving s that are not already in the cache. |
|
com.mobwith.imgmodule.init(ImageModule)
|
|
|
com.mobwith.imgmodule.with(Fragment)
|
Begin a load with ImageModule that will be tied to the given android.app.Fragment's lifecycleand that uses the given android.app.Fragment's default options. |
|
com.mobwith.imgmodule.register(Class,Encoder)
|
Registers the given Encoder for the given data class (InputStream, FileDescriptor etc). |
|
com.mobwith.imgmodule.register(Class,ResourceEncoder)
|
Appends the given ResourceEncoder into the list of available ResourceEncodersso that it is attempted after all earlier and default ResourceEncoders for the givendata type. |
|
com.mobwith.imgmodule.load(URL)
|
Returns a request builder to load the given URL. |
|
com.mobwith.imgmodule.into(int,int)
|
Returns a future that can be used to do a blocking get on a background thread. |
|
com.mobwith.imgmodule.downloadOnly(Y)
|
Loads the original unmodified data into the cache and calls the given Target with the cacheFile. |
|
com.mobwith.imgmodule.downloadOnly(int,int)
|
Loads the original unmodified data into the cache and returns a that can be used to retrieve the cache File containing the data. |
|
com.mobwith.imgmodule.request.transforms(Array)
|
Applies the given Transformations in the given order for Bitmaps to thedefault types (Bitmap, BitmapDrawable, and ) and throws an exception if asked totransform an unknown type. |
|
com.mobwith.imgmodule.load(URL)
|
Equivalent to calling asDrawable and then load. |
|
com.mobwith.imgmodule.gifdecoder.getLoopCount()
|
Gets the "Netscape" loop count, if any. |
|
com.mobwith.imgmodule.gifdecoder.getLoopCount()
|
Gets the "Netscape" loop count, if any. |
|
com.mobwith.imgmodule.load.engine.bitmap_recycle.put(T,Class)
|
Optionally adds the given array of the given type to the pool. |
|
com.mobwith.imgmodule.load.engine.bitmap_recycle.put(T,Class)
|
Optionally adds the given array of the given type to the pool. |
|
com.mobwith.imgmodule.load.engine.cache.get(File,long)
|
Get a DiskCache in the given directory and size. |
|
com.mobwith.imgmodule.load.engine.executor.newDiskCacheExecutor(ImageExecutor.UncaughtThrowableStrategy)
|
|
|
com.mobwith.imgmodule.load.engine.executor.newDiskCacheExecutor(int,String,ImageExecutor.UncaughtThrowableStrategy)
|
|
|
com.mobwith.imgmodule.load.engine.executor.newSourceExecutor(ImageExecutor.UncaughtThrowableStrategy)
|
|
|
com.mobwith.imgmodule.load.engine.executor.newSourceExecutor(int,String,ImageExecutor.UncaughtThrowableStrategy)
|
|
|
com.mobwith.imgmodule.load.engine.executor.newAnimationExecutor(int,ImageExecutor.UncaughtThrowableStrategy)
|
|
|
com.mobwith.imgmodule.load.resource.bitmap.obtain(Context,Bitmap)
|
|
|
com.mobwith.imgmodule.load.resource.bitmap.obtain(Resources,BitmapPool,Bitmap)
|
|
|
com.mobwith.imgmodule.load.resource.bitmap.roundedCorners(BitmapPool,Bitmap,int,int,int)
|
Creates a bitmap from a source bitmap and rounds the corners. |
|
com.mobwith.imgmodule.manager.get(Fragment)
|
|
|
com.mobwith.imgmodule.request.transforms(Array)
|
Applies the given Transformations in the given order for Bitmaps to thedefault types (Bitmap, BitmapDrawable, and ) and throws an exception if asked totransform an unknown type. |
|
com.mobwith.imgmodule.request.transforms(Array)
|
Applies the given Transformations in the given order for Bitmaps to thedefault types (Bitmap, BitmapDrawable, and ) and throws an exception if asked totransform an unknown type. |
|
com.mobwith.imgmodule.request.target.setTagId(int)
|
Sets the android resource id to use in conjunction with setTag tostore temporary state allowing loads to be automatically cancelled and resources re-used inscrolling lists. |
|
com.mobwith.imgmodule.request.target.setTagId(int)
|
Sets the android resource id to use in conjunction with setTag tostore temporary state allowing loads to be automatically cancelled and resources re-used inscrolling lists. |
|
com.mobwith.imgmodule.request.target.useTagId(int)
|
Override the android resource id to store temporary state allowing loads to be automaticallycancelled and resources re-used in scrolling lists. |
|
com.mobwith.imgmodule.request.target.setTagId(int)
|
Sets the android resource id to use in conjunction with setTag tostore temporary state allowing loads to be automatically cancelled and resources re-used inscrolling lists. |
|
com.mobwith.imgmodule.request.target.setTagId(int)
|
Sets the android resource id to use in conjunction with setTag tostore temporary state allowing loads to be automatically cancelled and resources re-used inscrolling lists. |
|
com.mobwith.imgmodule.request.target.setDither(boolean)
|
|
|
com.mobwith.imgmodule.request.target.setTagId(int)
|
Sets the android resource id to use in conjunction with setTag tostore temporary state allowing loads to be automatically cancelled and resources re-used inscrolling lists. |
|
com.mobwith.imgmodule.request.target.setTagId(int)
|
Sets the android resource id to use in conjunction with setTag tostore temporary state allowing loads to be automatically cancelled and resources re-used inscrolling lists. |
|
com.mobwith.imgmodule.request.target.setTagId(int)
|
Sets the android resource id to use in conjunction with setTag tostore temporary state allowing loads to be automatically cancelled and resources re-used inscrolling lists. |
|
com.mobwith.imgmodule.util.getSize(Bitmap)
|
Returns the allocated byte size of the given bitmap. |