Language

ISpanWatcher.OnSpanRemoved(ISpannable, Object, Int32, Int32) Method

Definition

This method is called to notify you that the specified object has been detached from the specified range of the text.

[Android.Runtime.Register("onSpanRemoved", "(Landroid/text/Spannable;Ljava/lang/Object;II)V", "GetOnSpanRemoved_Landroid_text_Spannable_Ljava_lang_Object_IIHandler:Android.Text.ISpanWatcherInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnSpanRemoved(Android.Text.ISpannable? text, Java.Lang.Object? what, int start, int end);
[<Android.Runtime.Register("onSpanRemoved", "(Landroid/text/Spannable;Ljava/lang/Object;II)V", "GetOnSpanRemoved_Landroid_text_Spannable_Ljava_lang_Object_IIHandler:Android.Text.ISpanWatcherInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnSpanRemoved : Android.Text.ISpannable * Java.Lang.Object * int * int -> unit

Parameters

text
ISpannable

The text from which the span was removed.

what
Object

The span object that was removed.

start
Int32

The span's previous start character offset.

end
Int32

The span's previous exclusive end character offset.

Attributes

Remarks

This method is called to notify you that the specified object has been detached from the specified range of the text.

Java documentation for android.text.SpanWatcher.onSpanRemoved(android.text.Spannable, java.lang.Object, 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