FragmentTagUsageViolation

public final class FragmentTagUsageViolation extends Violation

Object
   ↳ Violation
     ↳ FragmentTagUsageViolation

See FragmentStrictMode.Policy.Builder.detectFragmentTagUsage.

Summary

Public fields

@Nullable Throwable
final @NonNull Fragment

Gets the Fragment causing the Violation.

@Nullable String
final @Nullable ViewGroup

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

Public fields

cause

@Nullable
public @Nullable Throwable cause

fragment

@NonNull
public final @NonNull Fragment fragment

Gets the Fragment causing the Violation.

message

@Nullable
public @Nullable String message

parentContainer

@Nullable
public final @Nullable ViewGroup parentContainer

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