RetainInstanceUsageViolation

public abstract class RetainInstanceUsageViolation extends Violation


See FragmentStrictMode.Policy.Builder.detectRetainInstanceUsage.

Summary

Public fields

@Nullable Throwable
final @NonNull Fragment

Gets the Fragment causing the Violation.

@Nullable String

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