TextSwitcher.SetCurrentText Method

Definition

Overloads

SetCurrentText(ICharSequence)

Sets the text of the text view that is currently showing.

SetCurrentText(String)

Sets the text of the text view that is currently showing.

SetCurrentText(ICharSequence)

Sets the text of the text view that is currently showing.

[Android.Runtime.Register("setCurrentText", "(Ljava/lang/CharSequence;)V", "GetSetCurrentText_Ljava_lang_CharSequence_Handler")]
public virtual void SetCurrentText (Java.Lang.ICharSequence? text);
[<Android.Runtime.Register("setCurrentText", "(Ljava/lang/CharSequence;)V", "GetSetCurrentText_Ljava_lang_CharSequence_Handler")>]
abstract member SetCurrentText : Java.Lang.ICharSequence -> unit
override this.SetCurrentText : Java.Lang.ICharSequence -> unit

Parameters

text
ICharSequence

the new text to display

Attributes

Remarks

Sets the text of the text view that is currently showing. This does not perform the animations.

Java documentation for android.widget.TextSwitcher.setCurrentText(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

SetCurrentText(String)

Sets the text of the text view that is currently showing.

public void SetCurrentText (string? text);
member this.SetCurrentText : string -> unit

Parameters

text
String

the new text to display

Remarks

Sets the text of the text view that is currently showing. This does not perform the animations.

Java documentation for android.widget.TextSwitcher.setCurrentText(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