FragmentTransaction.Commit Method

Definition

Schedules a commit of this transaction.

[Android.Runtime.Register("commit", "()I", "GetCommitHandler")]
public abstract int Commit ();
[<Android.Runtime.Register("commit", "()I", "GetCommitHandler")>]
abstract member Commit : unit -> int

Returns

Int32

Returns the identifier of this transaction's back stack entry, if #addToBackStack(String) had been called. Otherwise, returns a negative number.

Attributes

Remarks

Java documentation for android.app.FragmentTransaction.commit().

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