FragmentReuseViolation


class FragmentReuseViolation : Violation


See FragmentStrictMode.Policy.Builder.detectFragmentReuse.

Summary

Public properties

String

Gets the unique ID of the previous instance 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

previousFragmentId

Added in 1.4.0
val previousFragmentIdString

Gets the unique ID of the previous instance of the Fragment causing the Violation.