com.github.ignition.support.images.remote
Class RemoteImageLoaderHandler
java.lang.Object
  
android.os.Handler
      
com.github.ignition.support.images.remote.RemoteImageLoaderHandler
public class RemoteImageLoaderHandler
- extends android.os.Handler
 
 
| Nested classes/interfaces inherited from class android.os.Handler | 
android.os.Handler.Callback | 
 
 
| 
Constructor Summary | 
RemoteImageLoaderHandler(android.widget.ImageView imageView,
                         String imageUrl,
                         android.graphics.drawable.Drawable errorDrawable)
 
            | 
RemoteImageLoaderHandler(android.os.Looper looper,
                         android.widget.ImageView imageView,
                         String imageUrl,
                         android.graphics.drawable.Drawable errorDrawable)
 
            | 
 
 
| Methods inherited from class android.os.Handler | 
dispatchMessage, dump, getLooper, hasMessages, hasMessages, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, post, postAtFrontOfQueue, postAtTime, postAtTime, postDelayed, removeCallbacks, removeCallbacks, removeCallbacksAndMessages, removeMessages, removeMessages, sendEmptyMessage, sendEmptyMessageAtTime, sendEmptyMessageDelayed, sendMessage, sendMessageAtFrontOfQueue, sendMessageAtTime, sendMessageDelayed, toString | 
 
 
HANDLER_MESSAGE_ID
public static final int HANDLER_MESSAGE_ID
- See Also:
 - Constant Field Values
 
BITMAP_EXTRA
public static final String BITMAP_EXTRA
- See Also:
 - Constant Field Values
 
IMAGE_URL_EXTRA
public static final String IMAGE_URL_EXTRA
- See Also:
 - Constant Field Values
 
RemoteImageLoaderHandler
public RemoteImageLoaderHandler(android.widget.ImageView imageView,
                                String imageUrl,
                                android.graphics.drawable.Drawable errorDrawable)
RemoteImageLoaderHandler
public RemoteImageLoaderHandler(android.os.Looper looper,
                                android.widget.ImageView imageView,
                                String imageUrl,
                                android.graphics.drawable.Drawable errorDrawable)
handleMessage
public final void handleMessage(android.os.Message msg)
- Overrides:
 handleMessage in class android.os.Handler
 
 
handleImageLoadedMessage
protected final void handleImageLoadedMessage(android.os.Message msg)
 
handleImageLoaded
protected boolean handleImageLoaded(android.graphics.Bitmap bitmap,
                                    android.os.Message msg)
- Override this method if you need custom handler logic. Note that this method can actually be
 called directly for performance reasons, in which case the message will be null
- Parameters:
 bitmap - the bitmap returned from the image loadermsg - the handler message; can be null
- Returns:
 - true if the view was updated with the new image, false if it was discarded
 
 
 
getImageUrl
public String getImageUrl()
 
setImageUrl
public void setImageUrl(String imageUrl)
 
getImageView
public android.widget.ImageView getImageView()
 
setImageView
public void setImageView(android.widget.ImageView imageView)
 
Copyright © 2012. All Rights Reserved.