TextSwitcher.SetText Method

Definition

Overloads

SetText(ICharSequence)

Sets the text of the next view and switches to the next view.

SetText(String)

Sets the text of the next view and switches to the next view.

SetText(ICharSequence)

Sets the text of the next view and switches to the next view.

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

Parameters

text
ICharSequence

the new text to display

Attributes

Remarks

Sets the text of the next view and switches to the next view. This can be used to animate the old text out and animate the next text in.

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

SetText(String)

Sets the text of the next view and switches to the next view.

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

Parameters

text
String

the new text to display

Remarks

Sets the text of the next view and switches to the next view. This can be used to animate the old text out and animate the next text in.

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