ISpanWatcher.OnSpanChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The text whose span range changed.
- what
- Object
The span object whose range changed.
- ostart
- Int32
The previous start character offset.
- oend
- Int32
The previous exclusive end character offset.
- nstart
- Int32
The new start character offset.
- nend
- Int32
The new exclusive end character offset.
- Attributes
Remarks
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.
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.