java.lang.Object | |
↳ | com.facebook.drawee.generic.GenericDraweeHierarchyInflater |
Inflater for the GenericDraweeHierarchy
.
Fading animation parameters:
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GenericDraweeHierarchyInflater() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static GenericDraweeHierarchyBuilder |
inflateBuilder(Context context, AttributeSet attrs)
Inflates a new hierarchy builder from XML.
| ||||||||||
static GenericDraweeHierarchy |
inflateHierarchy(Context context, AttributeSet attrs)
Inflates a new hierarchy from XML.
| ||||||||||
static GenericDraweeHierarchyBuilder |
updateBuilder(GenericDraweeHierarchyBuilder builder, Context context, AttributeSet attrs)
Updates the existing hierarchy builder based on the XML attributes.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Inflates a new hierarchy builder from XML. The builder can then be modified in order to override XML attributes if necessary.
Inflates a new hierarchy from XML.
Updates the existing hierarchy builder based on the XML attributes.
This method is useful if a custom view uses different default values. In that case a builder with adjusted default values can be passed to this method and only the properties explicitly specified in XML will be overridden. The builder can be modified afterwards in case some XML attributes needs to be overridden.
builder | a hierarchy builder to be updated |
---|