WrongFragmentContainerViolation


public final class WrongFragmentContainerViolation extends Violation


See FragmentStrictMode.Policy.Builder.detectWrongFragmentContainer.

Summary

Public methods

final @NonNull ViewGroup

Gets the container that the Fragment causing the Violation was being added to.

Public methods

getContainer

Added in 1.4.0
public final @NonNull ViewGroup getContainer()

Gets the container that the Fragment causing the Violation was being added to.