public class GifBitmapWrapper extends Object
Bitmap resource or an
GifDrawable resource.| Constructor and Description |
|---|
GifBitmapWrapper(Resource<Bitmap> bitmapResource,
Resource<GifDrawable> gifResource) |
| Modifier and Type | Method and Description |
|---|---|
Resource<Bitmap> |
getBitmapResource()
Returns the wrapped
Bitmap resource if it exists, or null. |
Resource<GifDrawable> |
getGifResource()
Returns the wrapped
GifDrawable resource if it exists, or null. |
int |
getSize()
Returns the size of the wrapped resource.
|
public GifBitmapWrapper(Resource<Bitmap> bitmapResource, Resource<GifDrawable> gifResource)
public int getSize()
public Resource<Bitmap> getBitmapResource()
Bitmap resource if it exists, or null.public Resource<GifDrawable> getGifResource()
GifDrawable resource if it exists, or null.