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 getMessage()
String getPreviousFragmentId()

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

Inherited methods

Public methods

getMessage

public String getMessage ()

Returns
String

getPreviousFragmentId

public String getPreviousFragmentId ()

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

Returns
String