public class DraweeDrawable<DH extends DraweeHierarchy> extends ForwardingDrawable implements ImageContent, Touchable
EMPTY| Constructor and Description |
|---|
DraweeDrawable(Context context,
DH draweeHierarchy) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Canvas canvas) |
DraweeController |
getController() |
DH |
getDraweeHierarchy() |
java.util.List<Drawable> |
getImageItems() |
void |
mount() |
boolean |
onTouchEvent(MotionEvent event,
View host) |
void |
setController(DraweeController controller) |
boolean |
shouldHandleTouchEvent(MotionEvent event) |
void |
unmount() |
public DraweeDrawable(Context context,
DH draweeHierarchy)
public void mount()
public void unmount()
public void draw(Canvas canvas)
public boolean onTouchEvent(MotionEvent event,
View host)
onTouchEvent in interface Touchablepublic boolean shouldHandleTouchEvent(MotionEvent event)
shouldHandleTouchEvent in interface Touchablepublic java.util.List<Drawable> getImageItems()
getImageItems in interface ImageContentpublic DraweeController getController()
public DH getDraweeHierarchy()
public void setController(DraweeController controller)