Język

FragmentManager.BeginTransaction Method

Definition

Start a series of edit operations on the Fragments associated with this FragmentManager.

[Android.Runtime.Register("beginTransaction", "()Landroid/app/FragmentTransaction;", "GetBeginTransactionHandler")]
public abstract Android.App.FragmentTransaction? BeginTransaction();
[<Android.Runtime.Register("beginTransaction", "()Landroid/app/FragmentTransaction;", "GetBeginTransactionHandler")>]
abstract member BeginTransaction : unit -> Android.App.FragmentTransaction

Returns

A new fragment transaction associated with this manager.

Attributes

Remarks

Creates a transaction for changes to this manager's fragments. A transaction can be created after the manager saves its state, but Commit() fails while the state is saved. CommitAllowingStateLoss() permits the commit, but changes may be lost if the saved state is restored.

Android reference for android.app.FragmentManager.beginTransaction.

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