Added in API level 1

CommaTokenizer


open class CommaTokenizer : MultiAutoCompleteTextView.Tokenizer
kotlin.Any
   ↳ android.widget.MultiAutoCompleteTextView.CommaTokenizer

This simple Tokenizer can be used for lists where the items are separated by a comma and one or more spaces.

Summary

Public constructors

Public methods
open Int
findTokenEnd(text: CharSequence!, cursor: Int)

open Int
findTokenStart(text: CharSequence!, cursor: Int)

open CharSequence!

Public constructors

CommaTokenizer

CommaTokenizer()

Public methods

findTokenEnd

Added in API level 1
open fun findTokenEnd(
    text: CharSequence!,
    cursor: Int
): Int

findTokenStart

Added in API level 1
open fun findTokenStart(
    text: CharSequence!,
    cursor: Int
): Int

terminateToken

Added in API level 1
open fun terminateToken(text: CharSequence!): CharSequence!