FragmentTransaction.RunOnCommit(IRunnable) Method

Definition

Add a Runnable to this transaction that will be run after this transaction has been committed.

[Android.Runtime.Register("runOnCommit", "(Ljava/lang/Runnable;)Landroid/app/FragmentTransaction;", "GetRunOnCommit_Ljava_lang_Runnable_Handler", ApiSince=26)]
public abstract Android.App.FragmentTransaction? RunOnCommit (Java.Lang.IRunnable? runnable);
[<Android.Runtime.Register("runOnCommit", "(Ljava/lang/Runnable;)Landroid/app/FragmentTransaction;", "GetRunOnCommit_Ljava_lang_Runnable_Handler", ApiSince=26)>]
abstract member RunOnCommit : Java.Lang.IRunnable -> Android.App.FragmentTransaction

Parameters

runnable
IRunnable

Runnable to add

Returns

FragmentTransaction

this FragmentTransaction

Attributes

Remarks

Java documentation for android.app.FragmentTransaction.runOnCommit(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.

Applies to