public class AttrResourceValue extends ResourceValue
ResourceValue.getValue() will return null, instead use getAttributeValues() to
get the enum/flag value associated with an attribute defined in the declare-styleable.mValue| Constructor and Description |
|---|
AttrResourceValue(ResourceUrl url,
java.lang.String libraryName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(java.lang.String name,
java.lang.Integer value) |
java.util.Map<java.lang.String,java.lang.Integer> |
getAttributeValues()
Return the enum/flag integer values.
|
equals, getLibraryName, getRawXmlValue, getResourceType, getResourceUrl, getValue, hashCode, isUserDefined, replaceWith, setValue, toStringgetName, isFrameworkpublic AttrResourceValue(@NonNull
ResourceUrl url,
@Nullable
java.lang.String libraryName)