Android Guides | Samples

Android.App.FragmentManager.ExecutePendingTransactions Method

After a FragmentTransaction is committed with FragmentTransaction.Commit, it is scheduled to be executed asynchronously on the process's main thread.

Syntax

[Android.Runtime.Register("executePendingTransactions", "()Z", "GetExecutePendingTransactionsHandler")]
public abstract Boolean ExecutePendingTransactions ()

Remarks

After a FragmentTransaction is committed with FragmentTransaction.Commit, it is scheduled to be executed asynchronously on the process's main thread. If you want to immediately executing any such pending operations, you can call this function (only from the main thread) to do so. Note that all callbacks and other related behavior will be done from within this call, so be careful about where this is called from.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11