Preface
This chapter covers Android. widget. multiautocompletetextview. tokenizer. The translation is from Ying Ge er. Thank you again! I look forward to your participation in Android API Chinese translation, contact me over140@gmail.com.
Statement
You are welcome to repost, but please keep the original source of the article :)
Blog Garden: http://www.cnblogs.com/
Android Chinese translation group: http://www.cnblogs.com/over140/
Body
I. Structure
Public static interface multiautocompletetextview. tokenizer
Indirect subclass
Multiautocompletetextview. commatokenizer, rfc822tokenizer
Ii. Public Methods
Public abstract int findtokenend (charsequence text, int cursor)
Returns the end position of the tag in the text, and its offset is cursor.
Public abstract int findtokenstart (charsequence text, int cursor)
Returns the starting position of the mark in the text, and its offset is cursor.
Public abstract charsequence terminatetoken (charsequence text)
Returns the text content. If necessary, this function checks whether the text ends with a terminator (for example, ending with a space or a comma)
End
This chapter describes the internal interfaces of multiautocompletetextview. For examples, see multiautocompletetextview.