RemoteViews.SetTextViewText Method

Definition

Overloads

SetTextViewText(Int32, ICharSequence)

Equivalent to calling TextView#setText(CharSequence)

SetTextViewText(Int32, String)

Equivalent to calling TextView#setText(CharSequence)

SetTextViewText(Int32, ICharSequence)

Equivalent to calling TextView#setText(CharSequence)

[Android.Runtime.Register("setTextViewText", "(ILjava/lang/CharSequence;)V", "GetSetTextViewText_ILjava_lang_CharSequence_Handler")]
public virtual void SetTextViewText (int viewId, Java.Lang.ICharSequence? text);
[<Android.Runtime.Register("setTextViewText", "(ILjava/lang/CharSequence;)V", "GetSetTextViewText_ILjava_lang_CharSequence_Handler")>]
abstract member SetTextViewText : int * Java.Lang.ICharSequence -> unit
override this.SetTextViewText : int * Java.Lang.ICharSequence -> unit

Parameters

viewId
Int32

The id of the view whose text should change

text
ICharSequence

The new text for the view

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setTextViewText(int, 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

SetTextViewText(Int32, String)

Equivalent to calling TextView#setText(CharSequence)

public void SetTextViewText (int viewId, string? text);
member this.SetTextViewText : int * string -> unit

Parameters

viewId
Int32

The id of the view whose text should change

text
String

The new text for the view

Remarks

Java documentation for android.widget.RemoteViews.setTextViewText(int, 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