AttributeSetBuilderImpl.ResourceResolver
public static class AttributeSetBuilderImpl.LegacyResourceResolver extends Object implements AttributeSetBuilderImpl.ResourceResolver
Constructor | Description |
---|---|
LegacyResourceResolver(Context context,
ResourceTable compileTimeResourceTable) |
Modifier and Type | Method | Description |
---|---|---|
Integer |
getIdentifier(String name,
String type,
String packageName) |
|
String |
getPackageName() |
|
String |
getResourceName(Integer attrId) |
|
void |
parseValue(Integer attrId,
ResName attrResName,
AttributeResource attribute,
TypedValue outValue) |
public LegacyResourceResolver(Context context, ResourceTable compileTimeResourceTable)
public String getPackageName()
getPackageName
in interface AttributeSetBuilderImpl.ResourceResolver
public String getResourceName(Integer attrId)
getResourceName
in interface AttributeSetBuilderImpl.ResourceResolver
public Integer getIdentifier(String name, String type, String packageName)
getIdentifier
in interface AttributeSetBuilderImpl.ResourceResolver
public void parseValue(Integer attrId, ResName attrResName, AttributeResource attribute, TypedValue outValue)
parseValue
in interface AttributeSetBuilderImpl.ResourceResolver