|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
ImageView
with "fade-in" effect
Bitmap
, scales them to needed sizeInputStream
of image by URI from network or file system or app resources.bitmap config
for image decoding.
Bitmap
in ImageView
.Bitmap
.Deque
that additionally supports blocking operations that wait
for the deque to become non-empty when retrieving an element, and wait for
space to become available in the deque when storing an element.DisplayImageOptions
object
ImageLoaderConfiguration
object
cacheInMemory(true)
instead
cacheOnDisc(true)
instead
ImageView
.
true
if this deque contains the specified element.
BitmapDisplayer
- SimpleBitmapDisplayer
ImageLoader
this
threadPriority = this
allow to cache different sizes of image in memory
memoryCache = DefaultConfigurationFactory.createMemoryCache(int)
discCache = UnlimitedDiscCache
imageDownloader = DefaultConfigurationFactory.createImageDownloader(Context)
imageDecoder = DefaultConfigurationFactory.createImageDecoder(boolean)
discCacheFileNameGenerator = DefaultConfigurationFactory.createFileNameGenerator()
defaultDisplayImageOptions = Simple options
tasksProcessingOrder = QueueProcessingType.FIFO
detailed logging disabled
DiscCacheAware
depends on incoming parameters
ImageDecoder
- BaseImageDecoder
ImageDownloader
- BaseImageDownloader
MemoryCacheAware
depends on incoming parameters: LruMemoryCache
(for API >= 9) or LRULimitedMemoryCache
(for API < 9).
ImageScaleType.IN_SAMPLE_POWER_OF_2
decoding type will be used
Bitmap.Config#ARGB_8888
bitmap config will be used for image decoding
SimpleBitmapDisplayer
will be used for image displaying
These option are appropriate for simple single-use image (from drawables or from Internet) displaying.
Bitmap
.
Bitmap
according target size and other parameters.
ImageView
and later you try to display
this image (from identical URI) in a larger ImageView
so decoded image of
bigger size will be cached in memory as a previous decoded image of smaller size.
ImageView
.
displayer
for image loading task.
DisplayImageOptions
ImageLoader
work
ImageDownloader.getStream(String, Object)
bitmap
cache.File
of cached image or null if image was not cached in disc cache
MemoryCacheAware
.key
if it exists in the cache.
ImageView
InputStream
of image by URI.
InputStream
of image by URI (image is located in assets of application).
InputStream
of image by URI (image is accessed using ContentResolver
).
InputStream
of image by URI (image is located in drawable resources of application).
InputStream
of image by URI (image is located on the local file system or SD card).
InputStream
of image by URI (image is located in the network).
InputStream
of image by URI from other source with unsupported scheme.
FlushedInputStream
for network downloads to handle HashCodeFileNameGenerator - Class in com.nostra13.universalimageloader.cache.disc.namingHttpClient
for image stream retrieving.Bitmap
.InputStream
of image by URI.ImageViews
ImageLoader.init(ImageLoaderConfiguration)
method must be called before any other method.ImageLoader
ImageLoaderConfiguration
logger
bitmap
cache.LinkedBlockingDeque
using LIFO algorithmMemoryCacheAware
.LinkedBlockingDeque
with a capacity of
Integer.MAX_VALUE
.
LinkedBlockingDeque
with the given (fixed) capacity.
LinkedBlockingDeque
with a capacity of
Integer.MAX_VALUE
, initially containing the elements of
the given collection, added in traversal order of the
collection's iterator.
bitmap
cache.bitmaps
.
bitmaps
(in bytes).
bitmaps
.
ListView
, GridView
) which can
pause ImageLoader's tasks while list view is scrolling (touch scrolling and/or
fling).ImageView
but
after they'll have been saved in memory cache.
Bitmap
for key
.
key
if it exists.
resetViewBeforeLoading(true)
instead
ImageView
will be reset (set null) before image loading start
ImageView
.
ImageView
if empty URI (null or empty
string) will be passed to ImageLoader.displayImage(...)
ImageView
if some error occurs during
requested image loading/decoding.
ImageView
during image loading
Bitmap
in ImageView
bitmap
cache.ViewScaleType.FIT_INSIDE
and ViewScaleType.CROP
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |