FragmentTagUsageViolation

public final class FragmentTagUsageViolation extends Violation

Object
   ↳ Violation
     ↳ FragmentTagUsageViolation

See #detectFragmentTagUsage.

Summary

Public methods

@NonNull @Override String
@Nullable ViewGroup

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

Inherited methods

From class Throwable
From class Violation
@NonNull Fragment

Gets the Fragment causing the Violation.

Public methods

getMessage

@NonNull
@Override
public @Override String getMessage()

getParentContainer

@Nullable
@NonNull
public ViewGroup getParentContainer()

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