| com.facebook.drawee.interfaces.DraweeController |
Known Indirect Subclasses
|
Interface that represents a Drawee controller used by a DraweeView.
The view forwards events to the controller. The controller controls its hierarchy based on those events.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract Animatable |
getAnimatable()
For an animated image, returns an Animatable that lets clients control the animation.
| ||||||||||
| abstract String |
getContentDescription()
Gets the accessibility content description.
| ||||||||||
| abstract DraweeHierarchy |
getHierarchy()
Gets the hierarchy.
| ||||||||||
| abstract boolean |
isSameImageRequest(DraweeController other)
Returns whether
other would fetch the same image as this. | ||||||||||
| abstract void |
onAttach()
Called when the view containing the hierarchy is attached to a window (either temporarily or
permanently).
| ||||||||||
| abstract void |
onDetach()
Called when the view containing the hierarchy is detached from a window (either temporarily or
permanently).
| ||||||||||
| abstract boolean |
onTouchEvent(MotionEvent event)
Called when the view containing the hierarchy receives a touch event.
| ||||||||||
| abstract void |
onViewportVisibilityHint(boolean isVisibleInViewportHint)
An optional hint whether the view containing the hierarchy is currently within the visible
viewport or not.
| ||||||||||
| abstract void |
setContentDescription(String contentDescription)
Sets the accessibility content description.
| ||||||||||
| abstract void |
setHierarchy(DraweeHierarchy hierarchy)
Sets a new hierarchy.
| ||||||||||
For an animated image, returns an Animatable that lets clients control the animation.
Gets the accessibility content description.
Returns whether other would fetch the same image as this.
Called when the view containing the hierarchy is attached to a window (either temporarily or permanently).
Called when the view containing the hierarchy is detached from a window (either temporarily or permanently).
Called when the view containing the hierarchy receives a touch event.
An optional hint whether the view containing the hierarchy is currently within the visible viewport or not.
Sets the accessibility content description.