Android Guides | Samples

Android.Widget.MultiAutoCompleteTextView.CommaTokenizer Class

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

See Also: MultiAutoCompleteTextView+CommaTokenizer

Syntax

[Android.Runtime.Register("android/widget/MultiAutoCompleteTextView$CommaTokenizer", DoNotGenerateAcw=true)]
public class MultiAutoCompleteTextView.CommaTokenizer : Object, MultiAutoCompleteTextView+ITokenizer, IDisposable

Remarks

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

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Widget.MultiAutoCompleteTextView.CommaTokenizer are listed below.

See Also: Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

FindTokenEnd(ICharSequence, Int32) : Int32
Returns the end of the token (minus trailing punctuation) that begins at offset cursor within text.
FindTokenEnd(String, Int32) : Int32
FindTokenStart(ICharSequence, Int32) : Int32
Returns the start of the token that ends at offset cursor within text.
FindTokenStart(String, Int32) : Int32
TerminateToken(String) : String
TerminateTokenFormatted(ICharSequence) : ICharSequence
Returns text, modified, if necessary, to ensure that it ends with a token terminator (for example a space or comma).