Violation
public abstract class Violation extends RuntimeException
| java.lang.Object | ||||
| ↳ | kotlin.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.lang.RuntimeException | |||
| ↳ | androidx.fragment.app.strictmode.Violation |
Root class for all FragmentStrictMode violations.
Summary
Inherited methods |
|---|
Public methods
getFragment
Added in 1.4.0
public final @NonNull Fragment getFragment()
Gets the Fragment causing the Violation.