FragmentTagUsageViolation

class FragmentTagUsageViolation : Violation


See FragmentStrictMode.Policy.Builder.detectFragmentTagUsage.

Summary

Public properties

ViewGroup?

Gets the parent container that the Fragment causing the Violation would have been added to.

Inherited properties

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

Gets the Fragment causing the Violation.

Public properties

parentContainer

Added in 1.4.0
val parentContainerViewGroup?

Gets the parent container that the Fragment causing the Violation would have been added to.