FragmentTransaction.DisallowAddToBackStack 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.
Disallow calls to #addToBackStack(String).
[Android.Runtime.Register("disallowAddToBackStack", "()Landroid/app/FragmentTransaction;", "GetDisallowAddToBackStackHandler")]
public abstract Android.App.FragmentTransaction? DisallowAddToBackStack();
[<Android.Runtime.Register("disallowAddToBackStack", "()Landroid/app/FragmentTransaction;", "GetDisallowAddToBackStackHandler")>]
abstract member DisallowAddToBackStack : unit -> Android.App.FragmentTransaction
Returns
The same FragmentTransaction instance, allowing additional transaction operations to be chained.
- Attributes
Remarks
Disallow calls to addToBackStack(String). Any future calls to addToBackStack will throw IllegalStateException. If addToBackStack has already been called, this method will throw IllegalStateException.
Android reference for android.app.FragmentTransaction.disallowAddToBackStack.
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.