java.lang.Object | |
↳ | com.facebook.imagepipeline.animated.base.AnimatedDrawableOptions |
Options for creating AnimatedDrawable2
.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static AnimatedDrawableOptions | DEFAULTS | Default options. | |||||||||
public final boolean | allowPrefetching | Whether the drawable can use worker threads to optimistically prefetch frames. | |||||||||
public final boolean | enableDebugging | Whether to enable additional verbose debugging diagnostics. | |||||||||
public final boolean | forceKeepAllFramesInMemory | Whether all the rendered frames should be held in memory disregarding other constraints. | |||||||||
public final int | maximumBytes | The maximum bytes that the backend can use to cache image frames in memory or -1 to use the default |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AnimatedDrawableOptions(AnimatedDrawableOptionsBuilder builder)
Creates
AnimatedDrawableOptions with default options. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static AnimatedDrawableOptionsBuilder |
newBuilder()
Creates a new builder.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Whether the drawable can use worker threads to optimistically prefetch frames.
Whether to enable additional verbose debugging diagnostics.
Whether all the rendered frames should be held in memory disregarding other constraints.
The maximum bytes that the backend can use to cache image frames in memory or -1 to use the default
Creates AnimatedDrawableOptions
with default options.
Creates a new builder.