|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImageAware
Represents image aware view which provides all needed properties and behavior for image processing and displaying
through ImageLoader
.
It can wrap any Android View
which can be accessed by getWrappedView()
. Wrapped
view is returned in ImageLoadingListener
's
callbacks.
ViewAware
,
ImageViewAware
,
NonViewAware
Method Summary | |
---|---|
int |
getHeight()
Returns height of image aware view. |
int |
getId()
Returns ID of image aware view. |
ViewScaleType |
getScaleType()
Returns scale type which is used for scaling image for this image aware view. |
int |
getWidth()
Returns width of image aware view. |
android.view.View |
getWrappedView()
Returns wrapped Android View . |
boolean |
isCollected()
Returns a flag whether image aware view is collected by GC or whatsoever. |
boolean |
setImageBitmap(android.graphics.Bitmap bitmap)
Sets image bitmap into this image aware view. |
boolean |
setImageDrawable(android.graphics.drawable.Drawable drawable)
Sets image drawable into this image aware view. |
Method Detail |
---|
int getWidth()
int getHeight()
ViewScaleType getScaleType()
android.view.View getWrappedView()
View
. Can return null if no view is wrapped or view was
collected by GC.
boolean isCollected()
ImageLoadingListener#onLoadingCancelled(String, View)
callback.
int getId()
boolean setImageDrawable(android.graphics.drawable.Drawable drawable)
BitmapDisplayer
.< br />
Is called on UI thread if ImageLoader was called on UI thread. Otherwise - on background thread.
boolean setImageBitmap(android.graphics.Bitmap bitmap)
Bitmap
in this image view aware.
Actually it's used only in
BitmapDisplayer
.< br />
Is called on UI thread if ImageLoader was called on UI thread. Otherwise - on background thread.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |