public static interface MultiAutoCompleteTextView.Tokenizer
Modifier and Type | Method and Description |
---|---|
int |
findTokenEnd(CharSequence text,
int cursor)
Returns the end of the token (minus trailing punctuation)
that begins at offset
cursor within text . |
int |
findTokenStart(CharSequence text,
int cursor)
Returns the start of the token that ends at offset
cursor within text . |
CharSequence |
terminateToken(CharSequence text)
Returns
text , modified, if necessary, to ensure that
it ends with a token terminator (for example a space or comma). |
int findTokenStart(CharSequence text, int cursor)
cursor
within text
.int findTokenEnd(CharSequence text, int cursor)
cursor
within text
.CharSequence terminateToken(CharSequence text)
text
, modified, if necessary, to ensure that
it ends with a token terminator (for example a space or comma).