C D G I M N O P S 

C

cancelRequest() - Method in class org.djodjo.comm.jus.ui.ImageLoader.ImageContainer
Releases interest in the in-flight request (and cancels it if no one else is listening).

D

drawableStateChanged() - Method in class org.djodjo.comm.jus.ui.NetworkImageView
 

G

get(String, ImageLoader.ImageListener) - Method in class org.djodjo.comm.jus.ui.ImageLoader
Returns an ImageContainer for the requested URL.
get(String, ImageLoader.ImageListener, int, int) - Method in class org.djodjo.comm.jus.ui.ImageLoader
Equivalent to calling #get(String, ImageListener, int, int, ScaleType) with Scaletype == ScaleType.CENTER_INSIDE.
get(String, ImageLoader.ImageListener, int, int, ImageView.ScaleType) - Method in class org.djodjo.comm.jus.ui.ImageLoader
Issues a bitmap request with the given URL if that image is not available in the cache, and returns a bitmap container that contains all of the data relating to the request (as well as the default image if the requested image is not available).
getBitmap(String) - Method in interface org.djodjo.comm.jus.ui.ImageLoader.ImageCache
 
getBitmap() - Method in class org.djodjo.comm.jus.ui.ImageLoader.ImageContainer
Returns the bitmap associated with the request URL if it has been loaded, null otherwise.
getImageListener(ImageView, int, int) - Static method in class org.djodjo.comm.jus.ui.ImageLoader
The default implementation of ImageListener which handles basic functionality of showing a default image until the network response is received, at which point it will switch to either the actual image or the error image.
getRequestUrl() - Method in class org.djodjo.comm.jus.ui.ImageLoader.ImageContainer
Returns the requested URL for this container.

I

ImageLoader - Class in org.djodjo.comm.jus.ui
Helper that handles loading and caching images from remote URLs.
ImageLoader(RequestQueue, ImageLoader.ImageCache) - Constructor for class org.djodjo.comm.jus.ui.ImageLoader
Constructs a new ImageLoader.
ImageLoader.ImageCache - Interface in org.djodjo.comm.jus.ui
Simple cache adapter interface.
ImageLoader.ImageContainer - Class in org.djodjo.comm.jus.ui
Container object for all of the data surrounding an image request.
ImageLoader.ImageContainer(Bitmap, String, String, ImageLoader.ImageListener) - Constructor for class org.djodjo.comm.jus.ui.ImageLoader.ImageContainer
Constructs a BitmapContainer object.
ImageLoader.ImageListener - Interface in org.djodjo.comm.jus.ui
Interface for the response handlers on image requests.
isCached(String, int, int) - Method in class org.djodjo.comm.jus.ui.ImageLoader
Checks if the item is available in the cache.
isCached(String, int, int, ImageView.ScaleType) - Method in class org.djodjo.comm.jus.ui.ImageLoader
Checks if the item is available in the cache.

M

makeImageRequest(String, int, int, ImageView.ScaleType, String) - Method in class org.djodjo.comm.jus.ui.ImageLoader
 

N

NetworkImageView - Class in org.djodjo.comm.jus.ui
Handles fetching an image from a URL as well as the life-cycle of the associated request.
NetworkImageView(Context) - Constructor for class org.djodjo.comm.jus.ui.NetworkImageView
 
NetworkImageView(Context, AttributeSet) - Constructor for class org.djodjo.comm.jus.ui.NetworkImageView
 
NetworkImageView(Context, AttributeSet, int) - Constructor for class org.djodjo.comm.jus.ui.NetworkImageView
 

O

onDetachedFromWindow() - Method in class org.djodjo.comm.jus.ui.NetworkImageView
 
onGetImageError(String, JusError) - Method in class org.djodjo.comm.jus.ui.ImageLoader
Handler for when an image failed to load.
onGetImageSuccess(String, Bitmap) - Method in class org.djodjo.comm.jus.ui.ImageLoader
Handler for when an image was successfully loaded.
onLayout(boolean, int, int, int, int) - Method in class org.djodjo.comm.jus.ui.NetworkImageView
 
onResponse(ImageLoader.ImageContainer, boolean) - Method in interface org.djodjo.comm.jus.ui.ImageLoader.ImageListener
Listens for non-error changes to the loading of the image request.
org.djodjo.comm.jus.ui - package org.djodjo.comm.jus.ui
 

P

putBitmap(String, Bitmap) - Method in interface org.djodjo.comm.jus.ui.ImageLoader.ImageCache
 

S

setBatchedResponseDelay(int) - Method in class org.djodjo.comm.jus.ui.ImageLoader
Sets the amount of time to wait after the first response arrives before delivering all responses.
setDefaultImageOrNull() - Method in class org.djodjo.comm.jus.ui.NetworkImageView
 
setDefaultImageResId(int) - Method in class org.djodjo.comm.jus.ui.NetworkImageView
Sets the default image resource ID to be used for this view until the attempt to load it completes.
setErrorImageResId(int) - Method in class org.djodjo.comm.jus.ui.NetworkImageView
Sets the error image resource ID to be used for this view in the event that the image requested fails to load.
setImageUrl(String, ImageLoader) - Method in class org.djodjo.comm.jus.ui.NetworkImageView
Sets URL of the image that should be loaded into this view.
C D G I M N O P S