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

String getMessage()
boolean isVisibleToUser()

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

Inherited methods

Public methods

getMessage

public String getMessage ()

Returns
String

isVisibleToUser

public boolean isVisibleToUser ()

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

Returns
boolean