Commit c6dd6f9
Migrate NativeViewHierarchyManager from Java to Kotlin (#56828)
Summary:
Pull Request resolved: #56828
Mechanical migration of the deprecated `NativeViewHierarchyManager` stub class from Java to Kotlin. All methods remain empty stubs — no behavioral changes.
Key migration decisions:
- Class marked `open` to preserve subclassability from Java/Kotlin
- All non-final public/protected methods marked `open` to match Java virtual-by-default
- `resolveView` and `resolveViewManager` remain `final` (matching the Java original)
- `Nullable` return types converted to Kotlin nullable types (`?`)
- `synchronized` methods use `Synchronized` annotation
- Static initializer converted to companion object `init` block
Changelog:
[Internal]
Reviewed By: christophpurrer
Differential Revision: D104999732
fbshipit-source-id: 9ef9da7f114cf32844a4761d130e1a86cedd606a1 parent 935f8e5 commit c6dd6f9
3 files changed
Lines changed: 188 additions & 223 deletions
File tree
- packages/react-native/ReactAndroid
- api
- src/main/java/com/facebook/react/uimanager
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3457 | 3457 | | |
3458 | 3458 | | |
3459 | 3459 | | |
| 3460 | + | |
3460 | 3461 | | |
3461 | | - | |
3462 | 3462 | | |
3463 | 3463 | | |
3464 | 3464 | | |
| |||
3469 | 3469 | | |
3470 | 3470 | | |
3471 | 3471 | | |
3472 | | - | |
3473 | 3472 | | |
3474 | 3473 | | |
3475 | 3474 | | |
| |||
3486 | 3485 | | |
3487 | 3486 | | |
3488 | 3487 | | |
| 3488 | + | |
| 3489 | + | |
| 3490 | + | |
3489 | 3491 | | |
3490 | 3492 | | |
3491 | 3493 | | |
| |||
Lines changed: 0 additions & 221 deletions
This file was deleted.
0 commit comments