public class ImageFactory extends Object
Constructor and Description |
---|
ImageFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
displayImage(Context ctx,
String uri,
ImageView imageView,
boolean cacheMemory,
boolean cacheDisk)
Displays a cached image
|
public static void displayImage(Context ctx, String uri, ImageView imageView, boolean cacheMemory, boolean cacheDisk)
ctx
- Application contexturi
- Image URIimageView
- ImageView in which the image will be displayedcacheMemory
- Indicates if the image should be cached in memorycacheDisk
- Indicates if the image should be cached on disk