forked from microsoft/react-native-macos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ReactViewGroup - utilize onViewAdded/Removed (facebook#47890)
Summary: Pull Request resolved: facebook#47890 The fix in [facebook#40859](facebook#40859) overrode every possible add or remove to ensure completeness, but all paths should also call onViewAdded/onViewRemoved via: - `addView`/`addViewInLayout` -> [addViewInner](https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-15.0.0_r5/core/java/android/view/ViewGroup.java#5310) - `removeView`/`removeViewInLayout` -> [removeViewInternal](https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-15.0.0_r5/core/java/android/view/ViewGroup.java#5606) - `removeViews`/`removeViewsInLayout` -> [removeViewsInternal](https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-15.0.0_r5/core/java/android/view/ViewGroup.java#5714) Changelog: [Android][Changed] Consolidated ReactViewGroup add/remove overrides Reviewed By: javache Differential Revision: D66320586 fbshipit-source-id: aaf16af5ad87789f575fcb79dcf31f5686002b2d
- Loading branch information
1 parent
3d1a505
commit 0b22b95
Showing
2 changed files
with
11 additions
and
66 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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