SetUserVisibleHintViolation

public final class SetUserVisibleHintViolation extends Violation


See #detectSetUserVisibleHint.

Summary

Public methods

@NonNull @Override String
@NonNull boolean

Indicates what the {@code isVisibleToUser} field for the Fragment causing the Violation was being set to.

Inherited methods

From class Throwable
From class Violation
@NonNull Fragment

Gets the Fragment causing the Violation.

Public methods

getMessage

@NonNull
@Override
public @Override String getMessage()

isVisibleToUser

@NonNull
public boolean isVisibleToUser()

Indicates what the {@code isVisibleToUser} field for the Fragment causing the Violation was being set to.