FragmentManager.UnregisterFragmentLifecycleCallbacks 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.
Unregisters a previously registered FragmentLifecycleCallbacks.
[Android.Runtime.Register("unregisterFragmentLifecycleCallbacks", "(Landroid/app/FragmentManager$FragmentLifecycleCallbacks;)V", "GetUnregisterFragmentLifecycleCallbacks_Landroid_app_FragmentManager_FragmentLifecycleCallbacks_Handler", ApiSince=26)]
public abstract void UnregisterFragmentLifecycleCallbacks(Android.App.FragmentManager.FragmentLifecycleCallbacks? cb);
[<Android.Runtime.Register("unregisterFragmentLifecycleCallbacks", "(Landroid/app/FragmentManager$FragmentLifecycleCallbacks;)V", "GetUnregisterFragmentLifecycleCallbacks_Landroid_app_FragmentManager_FragmentLifecycleCallbacks_Handler", ApiSince=26)>]
abstract member UnregisterFragmentLifecycleCallbacks : Android.App.FragmentManager.FragmentLifecycleCallbacks -> unit
Parameters
FragmentManager.FragmentLifecycleCallbacks: Callbacks to unregister
- Attributes
Remarks
Unregisters a previously registered FragmentLifecycleCallbacks. If the callback was not previously registered this call has no effect. All registered callbacks will be automatically unregistered when this FragmentManager is destroyed.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-08-03 UTC.
Android reference for android.app.FragmentManager.unregisterFragmentLifecycleCallbacks.
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.