ITextWatcher ITextWatcher Interface

Definition

When an object of a type is attached to an Editable, its methods will be called when the text is changed.

[Android.Runtime.Register("android/text/TextWatcher", "", "Android.Text.ITextWatcherInvoker", ApiSince=1)]
public interface ITextWatcher : Android.Text.INoCopySpan, IDisposable
type ITextWatcher = interface
    interface INoCopySpan
    interface IJavaObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

Android platform documentation

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.

Methods

AfterTextChanged(IEditable) AfterTextChanged(IEditable)

This method is called to notify you that, somewhere within s, the text has been changed.

BeforeTextChanged(ICharSequence, Int32, Int32, Int32) 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.

OnTextChanged(ICharSequence, Int32, Int32, Int32) 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.

Properties

Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

BeforeTextChanged(ITextWatcher, String, Int32, Int32, Int32) BeforeTextChanged(ITextWatcher, String, Int32, Int32, Int32)
OnTextChanged(ITextWatcher, String, Int32, Int32, Int32) OnTextChanged(ITextWatcher, String, Int32, Int32, Int32)
JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to