FragmentReuseViolation


public final class FragmentReuseViolation extends Violation


See FragmentStrictMode.Policy.Builder.detectFragmentReuse.

Summary

Public methods

final @NonNull String

Gets the unique ID of the previous instance of the Fragment causing the Violation.

Public methods

getPreviousFragmentId

Added in 1.4.0
public final @NonNull String getPreviousFragmentId()

Gets the unique ID of the previous instance of the Fragment causing the Violation.