SetUserVisibleHintViolation

public final class SetUserVisibleHintViolation
extends Violation

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ androidx.fragment.app.strictmode.Violation
           ↳ androidx.fragment.app.strictmode.SetUserVisibleHintViolation


See #FragmentStrictMode.Policy.Builder.detectSetUserVisibleHint().

Summary

Public methods

boolean isVisibleToUser()

Indicates what the isVisibleToUser field for the Fragment causing the Violation was being set to.

Inherited methods

Public methods

isVisibleToUser

public boolean isVisibleToUser ()

Indicates what the isVisibleToUser field for the Fragment causing the Violation was being set to.

Returns
boolean