Class DataSourceBitmapLoader

  • All Implemented Interfaces:
    BitmapLoader

    @Deprecated
    public final class DataSourceBitmapLoader
    extends Object
    implements BitmapLoader
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    A BitmapLoader implementation that uses a DataSource to support fetching images from URIs.

    Loading tasks are delegated to a ListeningExecutorService defined during construction. If no executor service is passed, all tasks are delegated to a single-thread executor service that is shared between instances of this class.