SetTargetFragmentUsageViolation

class SetTargetFragmentUsageViolation : TargetFragmentUsageViolation


See FragmentStrictMode.Policy.Builder.detectTargetFragmentUsage.

Summary

Public properties

Int

Gets the request code that was passed in the call causing the Violation.

Fragment

Gets the target Fragment that was being set in the call causing the Violation.

Inherited properties

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

Gets the Fragment causing the Violation.

Public properties

requestCode

Added in 1.4.0
val requestCodeInt

Gets the request code that was passed in the call causing the Violation.

targetFragment

Added in 1.4.0
val targetFragmentFragment

Gets the target Fragment that was being set in the call causing the Violation.