Code example for Spanned

Methods: getSpans, substring

0
                    Xlog.d(TAG, "annotation missing! filter right number:"+fieldValue);
                } 
            } 
        } 
        return fieldValue;
 
    } 
 
    private static String getAnnotation(Annotation[] a, String key) {
        for (int i = 0; i < a.length; i++) {
            if (a[i].getKey().equals(key)) {
                return a[i].getValue();
            } 
        } 
 
        return ""; 
    } 
 
    private class RecipientsEditorTokenizer 
            implements MultiAutoCompleteTextView.Tokenizer {
        private final MultiAutoCompleteTextView mList;