[FragmentStrictMode] Detect wrong Fragment container usage - #146
Closed
simonschiller wants to merge 1 commit into
Closed
[FragmentStrictMode] Detect wrong Fragment container usage#146simonschiller wants to merge 1 commit into
simonschiller wants to merge 1 commit into
Conversation
simonschiller
force-pushed
the
feature/wrong-fragment-container
branch
from
March 23, 2021 08:06
8fbe22e to
23a24fc
Compare
simonschiller
force-pushed
the
feature/wrong-fragment-container
branch
from
March 25, 2021 07:58
23a24fc to
cd84de8
Compare
jbw0033
approved these changes
Mar 29, 2021
jbw0033
left a comment
There was a problem hiding this comment.
Thank you for doing all of these. We are ready to make the APIs public now. Do you want to a change for removing the RestrictTo() annotations?
Contributor
Author
|
Happy to help 😄 |
harryzz
pushed a commit
to harryzz/compose-multiplatform-core
that referenced
this pull request
Jul 28, 2026
## Proposed Changes - Detect usage of `Fragment` containers other than `FragmentContainerView` ## Testing Test: See `FragmentStrictModeTest#detectWrongFragmentContainer` ## Issues Fixed Fixes: 181137036 This is an imported pull request from androidx#146. Resolves JetBrains#146 Github-Pr-Head-Sha: cd84de8 GitOrigin-RevId: 02bc194 Change-Id: I86d8f2797c4e76957b36c31e91fb474e42c9ee1d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Fragmentcontainers other thanFragmentContainerViewTesting
Test: See
FragmentStrictModeTest#detectWrongFragmentContainerIssues Fixed
Fixes: 181137036