FragmentTagUsageViolation

public final class FragmentTagUsageViolation
extends Violation

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ androidx.fragment.app.strictmode.Violation
           ↳ androidx.fragment.app.strictmode.FragmentTagUsageViolation


See #FragmentStrictMode.Policy.Builder.detectFragmentTagUsage().

Summary

Public methods

String getMessage()
ViewGroup getParentContainer()

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

Inherited methods

Public methods

getMessage

public String getMessage ()

Returns
String

getParentContainer

public ViewGroup getParentContainer ()

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

Returns
ViewGroup