Glide
Glide
/
com.bumptech.glide.load.resource.file
/
FileResource
File
Resource
open
class
FileResource
:
SimpleResource
<
T
>
Content copied to clipboard
A simple
com.bumptech.glide.load.engine.Resource
that wraps a
File
.
Constructors
Functions
Constructors
File
Resource
Link copied to clipboard
open
fun
FileResource
(
file
:
File
)
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
abstract
fun
getResourceClass
(
)
:
Class
<
Z
>
Content copied to clipboard
open
fun
getResourceClass
(
)
:
Class
<
T
>
Content copied to clipboard
Returns the
Class
of the wrapped resource.
get
Size
Link copied to clipboard
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.
recycle
Link copied to clipboard
open
fun
recycle
(
)
Content copied to clipboard
Cleans up and recycles internal resources.