SimpleBitmapLoader
@UnstableApi
class SimpleBitmapLoader : BitmapLoader
Summary
Public constructors |
|---|
|
Creates an instance that delegates all load tasks to a single-thread executor service shared between instances. |
Creates an instance that delegates loading tasks to the |
Public functions |
|
|---|---|
ListenableFuture<Bitmap!>! |
Decodes an image from compressed binary data. |
ListenableFuture<Bitmap!>! |
Loads an image from |
Boolean |
Returns whether the given |
Inherited functions |
||
|---|---|---|
|
Public constructors
SimpleBitmapLoader
SimpleBitmapLoader()Creates an instance that delegates all load tasks to a single-thread executor service shared between instances.
SimpleBitmapLoader
SimpleBitmapLoader(executorService: ExecutorService!)
Creates an instance that delegates loading tasks to the executorService.
Public functions
decodeBitmap
fundecodeBitmap(data: ByteArray!): ListenableFuture<Bitmap!>!
Decodes an image from compressed binary data.
supportsMimeType
funsupportsMimeType(mimeType: String!): Boolean
Returns whether the given mimeType is supported.