|
||||||||||
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 ImageAware
.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
cacheOnDisk(true)
instead
DisplayImageOptions.Builder.cacheOnDisk(boolean)
instead
ImageAware
.
ImageView
.
ImageLoader.clearDiskCache()
instead
true
if this deque contains the specified element.
InputStream
.BitmapDisplayer
- SimpleBitmapDisplayer
ImageLoader
this
threadPriority = this
allow to cache different sizes of image in memory
memoryCache = DefaultConfigurationFactory.createMemoryCache(int)
diskCache = UnlimitedDiscCache
imageDownloader = DefaultConfigurationFactory.createImageDownloader(Context)
imageDecoder = DefaultConfigurationFactory.createImageDecoder(boolean)
diskCacheFileNameGenerator = DefaultConfigurationFactory.createFileNameGenerator()
defaultDisplayImageOptions = Simple options
tasksProcessingOrder = QueueProcessingType.FIFO
detailed logging disabled
DiskCache
depends on incoming parameters
ImageDecoder
- BaseImageDecoder
ImageDownloader
- BaseImageDownloader
MemoryCache
- LruMemoryCache
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.
writeLogs(false)
instead
ImageLoaderConfiguration.Builder.diskCache(com.nostra13.universalimageloader.cache.disc.DiskCache)
DiskCache
insteadImageLoaderConfiguration.Builder.diskCacheExtraOptions(int, int, com.nostra13.universalimageloader.core.process.BitmapProcessor)
instead
ImageLoaderConfiguration.Builder.diskCacheFileCount(int)
instead
ImageLoaderConfiguration.Builder.diskCacheFileNameGenerator(com.nostra13.universalimageloader.cache.disc.naming.FileNameGenerator)
ImageLoaderConfiguration.Builder.diskCacheSize(int)
instead
ImageAware
.
displayer
for image loading task.
DisplayImageOptions
writeLogs(true)
instead
ImageDownloader.getStream(String, Object)
bitmap
cache.File
of cached image or null if image was not cached in disk cache
MemoryCache
.key
if it exists in the cache.
ImageLoader.getDiskCache()
instead
ImageAware
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.
View
.
FlushedInputStream
for network downloads to handle HashCodeFileNameGenerator - Class in com.nostra13.universalimageloader.cache.disc.namingImageLoader
.Bitmap
.InputStream
of image by URI.ImageViews
ImageLoader.init(ImageLoaderConfiguration)
method must be called before any other method.ImageLoader
ImageLoaderConfiguration
ImageView
.logger
bitmap
cache.LinkedBlockingDeque
using LIFO algorithmMemoryCache
.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
.
MemoryCache
insteadbitmaps
(in bytes).
bitmaps
.
ListView
, GridView
) which can
pause ImageLoader's tasks while list view is scrolling (touch scrolling and/or
fling).image aware view
but
after they'll have been saved in memory cache.
Bitmap
for key
.
key
if it exists.
resetViewBeforeLoading(true)
instead
image aware view
will be reset (set null) before image loading start
image aware view
if empty URI (null or empty
string) will be passed to ImageLoader.displayImage(...)
image aware view
if empty URI (null or empty
string) will be passed to ImageLoader.displayImage(...)
image aware view
if some error occurs during
requested image loading/decoding.
image aware view
if some error occurs during
requested image loading/decoding.
image aware view
during image loading
image aware view
during image loading.
DisplayImageOptions.Builder.showImageOnLoading(int)
instead
Bitmap
in ImageAware
bitmap
cache.View
.ViewScaleType.FIT_INSIDE
and ViewScaleType.CROP
ImageLoader
work.
ImageLoader
work.
ImageLoader
completely (even error logs).
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |