Back to Fresco

RetainingDataSourceSupplier

docs/javadoc/reference/com/facebook/datasource/RetainingDataSourceSupplier.html

3.6.012.0 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Packages | Classes

Summary: Ctors | Methods | Inherited Methods | [Expand All]

public class

RetainingDataSourceSupplier

extends Object
implements Supplier<T>

| java.lang.Object | | ↳ | com.facebook.datasource.RetainingDataSourceSupplier<T> |

Summary

Public Constructors
Public Methods
DataSource<T>
Retrieves an instance of the appropriate type.
void

| [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() |

| | From interface com.facebook.common.internal.Supplier

| abstract T | get() Retrieves an instance of the appropriate type. |

|

Public Constructors

public RetainingDataSourceSupplier()

Public Methods

public DataSource<T> get()

Retrieves an instance of the appropriate type. The returned object may or may not be a new instance, depending on the implementation.

Returns
  • an instance of the appropriate type

public void replaceSupplier(Supplier<DataSource<T>> supplier)

+Generated by Doclava. +