FragmentReuseViolation

public final class FragmentReuseViolation
extends Violation

java.lang.Object
   ↳ java.lang.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

String getPreviousFragmentId()

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

Inherited methods

Public methods

getPreviousFragmentId

public String getPreviousFragmentId ()

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

Returns
String