Back to Fresco

GenericDraweeHierarchyInflater

docs/javadoc/reference/com/facebook/drawee/generic/GenericDraweeHierarchyInflater.html

3.6.013.3 KB
Original Source

Fresco

|

|

Packages | Classes

Classes

Enums

Packages | Classes

Summary: Ctors | Methods | Inherited Methods | [Expand All]

public class

GenericDraweeHierarchyInflater

extends Object

| java.lang.Object | | ↳ | com.facebook.drawee.generic.GenericDraweeHierarchyInflater |

Class Overview

Inflater for the GenericDraweeHierarchy.

Fading animation parameters:

Summary

Public Constructors
Public Methods
static GenericDraweeHierarchyBuilder
Inflates a new hierarchy builder from XML.
static GenericDraweeHierarchy
Inflates a new hierarchy from XML.
static GenericDraweeHierarchyBuilder
Updates the existing hierarchy builder based on the XML attributes.

| [Expand] Inherited Methods | | --- | | From class java.lang.Object

| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

|

Public Constructors

public GenericDraweeHierarchyInflater()

Public Methods

public static GenericDraweeHierarchyBuilder inflateBuilder(Context context, AttributeSet attrs)

Inflates a new hierarchy builder from XML. The builder can then be modified in order to override XML attributes if necessary.

public static GenericDraweeHierarchy inflateHierarchy(Context context, AttributeSet attrs)

Inflates a new hierarchy from XML.

public static GenericDraweeHierarchyBuilder updateBuilder(GenericDraweeHierarchyBuilder builder, Context context, AttributeSet attrs)

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.

Parameters

| builder | a hierarchy builder to be updated |

Returns
  • the modified instance of the same builder

+Generated by Doclava. +