Language

FragmentManager.PrimaryNavigationFragment Property

Definition

Return the currently active primary navigation fragment for this FragmentManager.

public abstract Android.App.Fragment? PrimaryNavigationFragment { [Android.Runtime.Register("getPrimaryNavigationFragment", "()Landroid/app/Fragment;", "GetGetPrimaryNavigationFragmentHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getPrimaryNavigationFragment", "()Landroid/app/Fragment;", "GetGetPrimaryNavigationFragmentHandler", ApiSince=26)>]
member this.PrimaryNavigationFragment : Android.App.Fragment

Property Value

the fragment designated as the primary navigation fragment

Attributes

Remarks

Return the currently active primary navigation fragment for this FragmentManager. The primary navigation fragment's child FragmentManager will be called first to process delegated navigation actions such as popBackStack() if no ID or transaction name is provided to pop to.

Android reference for android.app.FragmentManager.getPrimaryNavigationFragment.

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