다음을 통해 공유


View.Post Method

Definition

Overloads

Post(IRunnable)

Causes the Runnable to be added to the message queue.

Post(Action)

Post(IRunnable)

Causes the Runnable to be added to the message queue.

[Android.Runtime.Register("post", "(Ljava/lang/Runnable;)Z", "GetPost_Ljava_lang_Runnable_Handler")]
public virtual bool Post (Java.Lang.IRunnable? action);
[<Android.Runtime.Register("post", "(Ljava/lang/Runnable;)Z", "GetPost_Ljava_lang_Runnable_Handler")>]
abstract member Post : Java.Lang.IRunnable -> bool
override this.Post : Java.Lang.IRunnable -> bool

Parameters

action
IRunnable

The Runnable that will be executed.

Returns

Returns true if the Runnable was successfully placed in to the message queue. Returns false on failure, usually because the looper processing the message queue is exiting.

Attributes

Remarks

Causes the Runnable to be added to the message queue. The runnable will be run on the user interface thread.

Java documentation for android.view.View.post(java.lang.Runnable).

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.

See also

Applies to

Post(Action)

public bool Post (Action action);
member this.Post : Action -> bool

Parameters

action
Action

Returns

Remarks

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