次の方法で共有


Toast.Show Method

Definition

Show the view for the specified duration.

[Android.Runtime.Register("show", "()V", "GetShowHandler")]
public virtual void Show ();
[<Android.Runtime.Register("show", "()V", "GetShowHandler")>]
abstract member Show : unit -> unit
override this.Show : unit -> unit
Attributes

Remarks

Show the view for the specified duration.

Note that toasts being sent from the background are rate limited, so avoid sending such toasts in quick succession.

Java documentation for android.widget.Toast.show().

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