Language

PhoneNumberFormattingTextWatcher.OnTextChanged Method

Definition

Overloads

Name Description
OnTextChanged(ICharSequence, Int32, Int32, Int32)

This method is called to notify you that, within s, the count characters beginning at start have just replaced old text that had length before.

OnTextChanged(String, Int32, Int32, Int32)

Checks newly inserted phone-number text for characters that stop automatic formatting.

OnTextChanged(ICharSequence, Int32, Int32, Int32)

This method is called to notify you that, within s, the count characters beginning at start have just replaced old text that had length before.

[Android.Runtime.Register("onTextChanged", "(Ljava/lang/CharSequence;III)V", "GetOnTextChanged_Ljava_lang_CharSequence_IIIHandler")]
public virtual void OnTextChanged(Java.Lang.ICharSequence? s, int start, int before, int count);
[<Android.Runtime.Register("onTextChanged", "(Ljava/lang/CharSequence;III)V", "GetOnTextChanged_Ljava_lang_CharSequence_IIIHandler")>]
abstract member OnTextChanged : Java.Lang.ICharSequence * int * int * int -> unit
override this.OnTextChanged : Java.Lang.ICharSequence * int * int * int -> unit

Parameters

s
ICharSequence

The text after the replacement.

start
Int32

The zero-based index where the replacement starts.

before
Int32

The number of characters removed.

count
Int32

The number of characters inserted.

Implements

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

OnTextChanged(String, Int32, Int32, Int32)

Checks newly inserted phone-number text for characters that stop automatic formatting.

public void OnTextChanged(string? s, int start, int before, int count);
member this.OnTextChanged : string * int * int * int -> unit

Parameters

s
String

The text after the replacement.

start
Int32

The zero-based index where the replacement starts.

before
Int32

The number of characters removed.

count
Int32

The number of characters inserted.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to