public class Converter<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Converter.FromArray |
static class |
Converter.FromAttrData |
static class |
Converter.FromCharSequence |
static class |
Converter.FromColor |
static class |
Converter.FromFilePath |
Constructor and Description |
---|
Converter() |
Modifier and Type | Method and Description |
---|---|
CharSequence |
asCharSequence(TypedResource typedResource) |
int |
asInt(TypedResource typedResource) |
boolean |
fillTypedValue(T data,
TypedValue typedValue) |
static Converter |
getConverter(ResType resType) |
List<TypedResource> |
getItems(TypedResource typedResource) |
public CharSequence asCharSequence(TypedResource typedResource)
public int asInt(TypedResource typedResource)
public List<TypedResource> getItems(TypedResource typedResource)
public boolean fillTypedValue(T data, TypedValue typedValue)