FragmentManager.ExecutePendingTransactions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
After a FragmentTransaction is committed with
FragmentTransaction#commit FragmentTransaction.commit(), it
is scheduled to be executed asynchronously on the process's main thread.
[Android.Runtime.Register("executePendingTransactions", "()Z", "GetExecutePendingTransactionsHandler")]
public abstract bool ExecutePendingTransactions();
[<Android.Runtime.Register("executePendingTransactions", "()Z", "GetExecutePendingTransactionsHandler")>]
abstract member ExecutePendingTransactions : unit -> bool
Returns
Returns true if there were any pending transactions to be executed.
- Attributes
Remarks
After a transaction is committed with Commit(), it is scheduled to execute on the process's main thread. Call this method on the main thread to execute pending operations immediately. Callbacks and related behavior run within this call. On API level 26 and later, it also forces the start of postponed transactions.
Android reference for android.app.FragmentManager.executePendingTransactions.
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.