Glide
Glide
/
com.bumptech.glide.load.resource.gif
/
GifDrawableResource
Gif
Drawable
Resource
open
class
GifDrawableResource
:
DrawableResource
<
T
>
,
Initializable
Content copied to clipboard
A resource wrapping an
com.bumptech.glide.load.resource.gif.GifDrawable
.
Constructors
Functions
Constructors
Gif
Drawable
Resource
Link copied to clipboard
open
fun
GifDrawableResource
(
drawable
:
GifDrawable
)
Content copied to clipboard
Functions
get
Link copied to clipboard
abstract
fun
get
(
)
:
Z
Content copied to clipboard
fun
get
(
)
:
T
Content copied to clipboard
Returns an instance of the wrapped resource.
get
Resource
Class
Link copied to clipboard
open
fun
getResourceClass
(
)
:
Class
<
GifDrawable
>
Content copied to clipboard
Returns the
Class
of the wrapped resource.
get
Size
Link copied to clipboard
open
fun
getSize
(
)
:
Int
Content copied to clipboard
Returns the size in bytes of the wrapped resource to use to determine how much of the memory cache this resource uses.
initialize
Link copied to clipboard
open
fun
initialize
(
)
Content copied to clipboard
Called on a background thread so the
Resource
can do some eager initialization.
recycle
Link copied to clipboard
open
fun
recycle
(
)
Content copied to clipboard
Cleans up and recycles internal resources.