java.lang.Object | |
↳ | com.facebook.drawee.backends.pipeline.Fresco |
Fresco entry point.
You must initialize this class before use. The simplest way is to just do {#code Fresco.initialize(Context)}.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static PipelineDraweeControllerBuilderSupplier |
getDraweeControllerBuilderSupplier()
Gets the supplier of Fresco Drawee controller builders.
| ||||||||||
static ImagePipeline |
getImagePipeline()
Gets the image pipeline instance.
| ||||||||||
static ImagePipelineFactory | getImagePipelineFactory() | ||||||||||
static boolean |
hasBeenInitialized()
Returns true if Fresco has been initialized.
| ||||||||||
static void |
initialize(Context context, ImagePipelineConfig imagePipelineConfig, DraweeConfig draweeConfig)
Initializes Fresco with the specified config and native code enabled.
| ||||||||||
static void |
initialize(Context context, ImagePipelineConfig imagePipelineConfig)
Initializes Fresco with the default Drawee config.
| ||||||||||
static void |
initialize(Context context, ImagePipelineConfig imagePipelineConfig, DraweeConfig draweeConfig, boolean useNativeCode)
Initializes Fresco with the specified config.
| ||||||||||
static void |
initialize(Context context)
Initializes Fresco with the default config.
| ||||||||||
static PipelineDraweeControllerBuilder |
newDraweeControllerBuilder()
Returns a new instance of Fresco Drawee controller builder.
| ||||||||||
static void |
shutDown()
Shuts Fresco down.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Gets the supplier of Fresco Drawee controller builders.
Returns true if Fresco has been initialized.
Initializes Fresco with the specified config and native code enabled.
Initializes Fresco with the default Drawee config.
Initializes Fresco with the specified config.
Initializes Fresco with the default config.
Returns a new instance of Fresco Drawee controller builder.
Shuts Fresco down.