FragmentReuseViolation
public final class FragmentReuseViolation extends Violation
| java.lang.Object | |||||
| ↳ | kotlin.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.lang.RuntimeException | ||||
| ↳ | androidx.fragment.app.strictmode.Violation | ||||
| ↳ | androidx.fragment.app.strictmode.FragmentReuseViolation |
See FragmentStrictMode.Policy.Builder.detectFragmentReuse.
Summary
Public methods |
|
|---|---|
final @NonNull String |
Gets the unique ID of the previous instance of the |
Inherited methods |
|---|
Public methods
getPreviousFragmentId
Added in 1.4.0
public final @NonNull String getPreviousFragmentId()
Gets the unique ID of the previous instance of the Fragment causing the Violation.