Lingua

SpannableStringBuilder.Clear Method

Definition

Convenience for replace(0, length(), "", 0, 0)

[Android.Runtime.Register("clear", "()V", "GetClearHandler")]
public virtual void Clear();
[<Android.Runtime.Register("clear", "()V", "GetClearHandler")>]
abstract member Clear : unit -> unit
override this.Clear : unit -> unit

Implements

Attributes

Remarks

Convenience for replace(0, length(), "", 0, 0). Note that this clears the text, not the spans; use clearSpans() if you need that.

Android reference for android.text.SpannableStringBuilder.clear.

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