Code example for TypedArray

Methods: getStringhasValue

0
    protected KeyStyle(final KeyboardTextsSet textsSet) {
        mTextsSet = textsSet;
    } 
 
    protected String parseString(final TypedArray a, final int index) {
        if (a.hasValue(index)) {
            return KeySpecParser.resolveTextReference(a.getString(index), mTextsSet);
        } 
        return null; 
    } 
 
    protected String[] parseStringArray(final TypedArray a, final int index) {
        if (a.hasValue(index)) {
            final String text = KeySpecParser.resolveTextReference(a.getString(index), mTextsSet);
            return StringUtils.parseCsvString(text);
        } 
        return null; 
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java