WrongNestedHierarchyViolation


class WrongNestedHierarchyViolation : Violation


See FragmentStrictMode.Policy.Builder.detectWrongNestedHierarchy.

Summary

Public properties

Int

Gets the unique ID of the container that the Fragment causing the Violation would have been added to.

Fragment

Gets the expected parent Fragment of the fragment causing the Violation.

Inherited properties

From kotlin.Throwable
From androidx.fragment.app.strictmode.Violation
Fragment

Gets the Fragment causing the Violation.

Public properties

containerId

Added in 1.6.0
val containerIdInt

Gets the unique ID of the container that the Fragment causing the Violation would have been added to.

expectedParentFragment

Added in 1.6.0
val expectedParentFragmentFragment

Gets the expected parent Fragment of the fragment causing the Violation.