GifDrawableResource

open class GifDrawableResource : DrawableResource<T> , Initializable

A resource wrapping an com.bumptech.glide.load.resource.gif.GifDrawable.

Constructors

Link copied to clipboard
open fun GifDrawableResource(drawable: GifDrawable)

Functions

Link copied to clipboard
abstract fun get(): Z
fun get(): T
Returns an instance of the wrapped resource.
Link copied to clipboard
open fun getResourceClass(): Class<GifDrawable>
Returns the Class of the wrapped resource.
Link copied to clipboard
open fun getSize(): Int
Returns the size in bytes of the wrapped resource to use to determine how much of the memory cache this resource uses.
Link copied to clipboard
open fun initialize()
Called on a background thread so the Resource can do some eager initialization.
Link copied to clipboard
open fun recycle()
Cleans up and recycles internal resources.