FragmentStrictMode.OnViolationListener

interface FragmentStrictMode.OnViolationListener


When #penaltyListener is enabled, the listener is called when a violation occurs.

Summary

Public methods

abstract @NonNull void

Called on a policy violation.

Public methods

onViolation

@NonNull
public abstract void onViolation(@NonNull Violation violation)

Called on a policy violation.