|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapper
public class GifBitmapWrapper
A wrapper that contains either an Bitmap
resource or an
GifDrawable
resource.
Constructor Summary | |
---|---|
GifBitmapWrapper(Resource<Bitmap> bitmapResource,
Resource<GifDrawable> gifResource)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GifBitmapWrapper(Resource<Bitmap> bitmapResource, Resource<GifDrawable> gifResource)
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |