Language

PasswordTransformationMethod.BeforeTextChanged Method

Definition

Overloads

Name Description
BeforeTextChanged(ICharSequence, Int32, Int32, Int32)

This method is called to notify you that, within s, the count characters beginning at start are about to be replaced by new text with length after.

BeforeTextChanged(String, Int32, Int32, Int32)

Receives a pending text-change notification without taking any action.

BeforeTextChanged(ICharSequence, Int32, Int32, Int32)

This method is called to notify you that, within s, the count characters beginning at start are about to be replaced by new text with length after.

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

Parameters

s
ICharSequence

The text before the replacement.

start
Int32

The offset of the first character to replace.

count
Int32

The number of characters to remove.

after
Int32

The number of characters to insert.

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

BeforeTextChanged(String, Int32, Int32, Int32)

Receives a pending text-change notification without taking any action.

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

Parameters

s
String

The text before the replacement.

start
Int32

The offset of the first character to replace.

count
Int32

The number of characters to remove.

after
Int32

The number of characters to insert.

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