SpannableFactory.NewSpannable Method

Definition

Overloads

NewSpannable(ICharSequence)

Returns a new SpannableString from the specified CharSequence.

NewSpannable(String)

Returns a new SpannableString from the specified CharSequence.

NewSpannable(ICharSequence)

Returns a new SpannableString from the specified CharSequence.

[Android.Runtime.Register("newSpannable", "(Ljava/lang/CharSequence;)Landroid/text/Spannable;", "GetNewSpannable_Ljava_lang_CharSequence_Handler")]
public virtual Android.Text.ISpannable? NewSpannable (Java.Lang.ICharSequence? source);
[<Android.Runtime.Register("newSpannable", "(Ljava/lang/CharSequence;)Landroid/text/Spannable;", "GetNewSpannable_Ljava_lang_CharSequence_Handler")>]
abstract member NewSpannable : Java.Lang.ICharSequence -> Android.Text.ISpannable
override this.NewSpannable : Java.Lang.ICharSequence -> Android.Text.ISpannable

Parameters

source
ICharSequence

Returns

Attributes

Remarks

Returns a new SpannableString from the specified CharSequence. You can override this to provide a different kind of Spannable.

Java documentation for android.text.Spannable.Factory.newSpannable(java.lang.CharSequence).

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

NewSpannable(String)

Returns a new SpannableString from the specified CharSequence.

public Android.Text.ISpannable? NewSpannable (string? source);
member this.NewSpannable : string -> Android.Text.ISpannable

Parameters

source
String

Returns

Remarks

Returns a new SpannableString from the specified CharSequence. You can override this to provide a different kind of Spannable.

Java documentation for android.text.Spannable.Factory.newSpannable(java.lang.CharSequence).

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