com.facebook.drawee.interfaces.DraweeHierarchy |
Known Indirect Subclasses |
Interface that represents a Drawee hierarchy.
A hierarchy assembles a tree of Drawables in order to form a dynamically changeable display. This is much more lightweight than the traditional Android way of nesting View objects.
Hierarchy details are hidden for the outside world. All that's visible is the top level drawable, which can be put into a view.
Example hierarchy:
o FadeDrawable (top level drawable) | +--o ScaleTypeDrawable | | | +--o BitmapDrawable | +--o ScaleTypeDrawable | +--o BitmapDrawable
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract Rect | getBounds() | ||||||||||
abstract Drawable |
getTopLevelDrawable()
Returns the top level drawable in the corresponding hierarchy.
|
Returns the top level drawable in the corresponding hierarchy. Hierarchy should always have the same instance of its top level drawable.