{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

GetTargetFragmentRequestCodeUsageViolation

Added in 1.4.0

class GetTargetFragmentRequestCodeUsageViolation : TargetFragmentUsageViolation

kotlin.Any
   ↳ kotlin.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ androidx.fragment.app.strictmode.Violation
           ↳ androidx.fragment.app.strictmode.TargetFragmentUsageViolation
             ↳ androidx.fragment.app.strictmode.GetTargetFragmentRequestCodeUsageViolation

See FragmentStrictMode.Policy.Builder.detectTargetFragmentUsage.

Summary

Inherited functions

From kotlin.Throwable

Inherited properties

From kotlin.Throwable
From androidx.fragment.app.strictmode.Violation
Fragment

Gets the Fragment causing the Violation.