Share via


ISpanWatcher.OnSpanChanged Method

Definition

This method is called to notify you that the specified object has been relocated from the range ostart…oend to the new range nstart…nend of the text.

[Android.Runtime.Register("onSpanChanged", "(Landroid/text/Spannable;Ljava/lang/Object;IIII)V", "GetOnSpanChanged_Landroid_text_Spannable_Ljava_lang_Object_IIIIHandler:Android.Text.ISpanWatcherInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnSpanChanged (Android.Text.ISpannable? text, Java.Lang.Object? what, int ostart, int oend, int nstart, int nend);
[<Android.Runtime.Register("onSpanChanged", "(Landroid/text/Spannable;Ljava/lang/Object;IIII)V", "GetOnSpanChanged_Landroid_text_Spannable_Ljava_lang_Object_IIIIHandler:Android.Text.ISpanWatcherInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnSpanChanged : Android.Text.ISpannable * Java.Lang.Object * int * int * int * int -> unit

Parameters

text
ISpannable
what
Object
ostart
Int32
oend
Int32
nstart
Int32
nend
Int32
Attributes

Remarks

This method is called to notify you that the specified object has been relocated from the range ostart&hellip;oend to the new range nstart&hellip;nend of the text.

Java documentation for android.text.SpanWatcher.onSpanChanged(android.text.Spannable, java.lang.Object, int, int, int, int).

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