|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
bitmap config
for image decoding.
Bitmap
in ImageView
.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
ImageView
.
true
if this deque contains the specified element.
BitmapDisplayer
ImageLoader
this
threadPriority = this
allow to cache different sizes of image in memory
memoryCache = UsingFreqLimitedCache
with limited memory cache size (
this
bytes)
discCache = UnlimitedDiscCache
imageDownloader = ImageDownloader#createDefault()
discCacheFileNameGenerator = FileNameGenerator#createDefault()
defaultDisplayImageOptions = Simple options
tasksProcessingOrder = QueueProcessingType.FIFO
detailed logging disabled
DisckCacheAware
depends on incoming parameters
ImageDownloader
MemoryCacheAware
depends on incoming parameters
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.
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
bitmap
cache.MemoryCacheAware
.ImageView
InputStream
of image by URI.
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.
InputStream
of image by URI.ImageViews
ImageLoader.init(ImageLoaderConfiguration)
method must be called before any other method.ImageLoader
ImageLoaderConfiguration
decoding type
for image loading task.
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).
OutOfMemoryError
occurs.
ImageView
was reused in newer task
ImageView
ListView
, GridView
) which can
pause ImageLoader's tasks while list view is scrolling (touch scrolling and/or
fling).ImageView
will be reset (set null) before image loading start
ImageView
if empty URI (null or empty string)
will be passed to ImageLoader.displayImage(...)
ImageView
during image loading
Bitmap
in ImageView
bitmap
cache.ViewScaleType.FIT_INSIDE
and ViewScaleType.CROP
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |