Back to Fresco

Fresco

docs/javadoc/reference/com/facebook/drawee/backends/pipeline/Fresco.html

3.6.015.9 KB
Original Source

Fresco

|

|

Packages | Classes

Classes

Packages | Classes

Summary: Methods | Inherited Methods | [Expand All]

public class

Fresco

extends Object

| java.lang.Object | | ↳ | com.facebook.drawee.backends.pipeline.Fresco |

Class Overview

Fresco entry point.

You must initialize this class before use. The simplest way is to just do {#code Fresco.initialize(Context)}.

Summary

Public Methods
static PipelineDraweeControllerBuilderSupplier
Gets the supplier of Fresco Drawee controller builders.
static ImagePipeline
Gets the image pipeline instance.
static ImagePipelineFactory
static boolean
Returns true if Fresco has been initialized.
static void
Initializes Fresco with the specified config and native code enabled.
static void
Initializes Fresco with the default Drawee config.
static void
Initializes Fresco with the specified config.
static void
Initializes Fresco with the default config.
static PipelineDraweeControllerBuilder
Returns a new instance of Fresco Drawee controller builder.
static void
Shuts Fresco down.

| [Expand] Inherited Methods | | --- | | From class java.lang.Object

| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

|

Public Methods

public static PipelineDraweeControllerBuilderSupplier getDraweeControllerBuilderSupplier()

Gets the supplier of Fresco Drawee controller builders.

public static ImagePipeline getImagePipeline()

Gets the image pipeline instance.

public static ImagePipelineFactory getImagePipelineFactory()

public static boolean hasBeenInitialized()

Returns true if Fresco has been initialized.

public static void initialize(Context context, ImagePipelineConfig imagePipelineConfig, DraweeConfig draweeConfig)

Initializes Fresco with the specified config and native code enabled.

public static void initialize(Context context, ImagePipelineConfig imagePipelineConfig)

Initializes Fresco with the default Drawee config.

public static void initialize(Context context, ImagePipelineConfig imagePipelineConfig, DraweeConfig draweeConfig, boolean useNativeCode)

Initializes Fresco with the specified config.

public static void initialize(Context context)

Initializes Fresco with the default config.

public static PipelineDraweeControllerBuilder newDraweeControllerBuilder()

Returns a new instance of Fresco Drawee controller builder.

public static void shutDown()

Shuts Fresco down.

+Generated by Doclava. +