Class Overview
Extension to android.graphics.BitmapFactory that allows decoding bitmaps from content provider Uris.
Summary
|
[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 Constructors
Public Methods
public
static
Bitmap
decodeBitmap
(Context context, Uri imageUri)
Parameters
| context |
The context to use. |
| imageUri |
Uri from which to read the bitmap. |
public
static
Single<Bitmap>
decodeBitmapAsync
(Context context, Uri imageUri)
Decode bitmap from an imageUri asynchronously. Accepts URI schemes accepted by
openInputStream(Uri):
Parameters
| context |
The context to use. |
| imageUri |
Uri from which to read the bitmap. |
Returns
- Single observable returning decoded bitmap data.