Violation

public abstract class Violation extends RuntimeException


Root class for all FragmentStrictMode violations.

Summary

Public methods

final @NonNull Fragment

Gets the Fragment causing the Violation.

Public methods

getFragment

Added in 1.4.0
public final @NonNull Fragment getFragment()

Gets the Fragment causing the Violation.