|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bumptech.glide.load.resource.gif.GifDrawableLoadProvider
public class GifDrawableLoadProvider
An DataLoadProvider that loads an InputStream into
GifDrawable that can be used to display an animated GIF.
| Constructor Summary | |
|---|---|
GifDrawableLoadProvider(Context context,
BitmapPool bitmapPool)
|
|
| Method Summary | |
|---|---|
ResourceDecoder<File,GifDrawable> |
getCacheDecoder()
Returns the ResourceDecoder to use to decode the resource from the disk cache. |
ResourceEncoder<GifDrawable> |
getEncoder()
Returns the ResourceEncoder to use to write the decoded and transformed resource
to the disk cache. |
ResourceDecoder<InputStream,GifDrawable> |
getSourceDecoder()
Returns the ResourceDecoder to use to decode the resource from the original data. |
Encoder<InputStream> |
getSourceEncoder()
Returns the Encoder to use to write the original data to the disk cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GifDrawableLoadProvider(Context context,
BitmapPool bitmapPool)
| Method Detail |
|---|
public ResourceDecoder<File,GifDrawable> getCacheDecoder()
DataLoadProviderResourceDecoder to use to decode the resource from the disk cache.
getCacheDecoder in interface DataLoadProvider<InputStream,GifDrawable>public ResourceDecoder<InputStream,GifDrawable> getSourceDecoder()
DataLoadProviderResourceDecoder to use to decode the resource from the original data.
getSourceDecoder in interface DataLoadProvider<InputStream,GifDrawable>public Encoder<InputStream> getSourceEncoder()
DataLoadProviderEncoder to use to write the original data to the disk cache.
getSourceEncoder in interface DataLoadProvider<InputStream,GifDrawable>public ResourceEncoder<GifDrawable> getEncoder()
DataLoadProviderResourceEncoder to use to write the decoded and transformed resource
to the disk cache.
getEncoder in interface DataLoadProvider<InputStream,GifDrawable>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||