Commit 5c68099
Convert
Summary:
Pull Request resolved: #57045
Convert `ReactHorizontalScrollView.java` to `ReactHorizontalScrollView.kt` using idiomatic Kotlin while preserving the public API surface.
Key changes:
- `ReactHorizontalScrollView.java` replaced by `ReactHorizontalScrollView.kt`
- `ReactHorizontalScrollViewManager.kt` updated to use Kotlin property access syntax for `scrollEnabled`, `stateWrapper`, and `fadingEdgeLengthStart/End`
- Static helper methods (`findDeepestScrollViewForMotionEvent`) moved into the companion object
- Public API surface preserved: only additive `synthetic` constructor from `JvmOverloads`
Changelog:
[Android][Changed] - Convert `ReactHorizontalScrollView` from Java to Kotlin
Reviewed By: Abbondanzo
Differential Revision: D107236883
fbshipit-source-id: 37fb0f646193c2fc88008196f0db6e7307332109ReactHorizontalScrollView to Kotlin (#57045)1 parent 9d65e6c commit 5c68099
4 files changed
Lines changed: 1632 additions & 1852 deletions
File tree
- packages/react-native/ReactAndroid
- api
- src/main/java/com/facebook/react/views/scroll
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5475 | 5475 | | |
5476 | 5476 | | |
5477 | 5477 | | |
| 5478 | + | |
5478 | 5479 | | |
5479 | 5480 | | |
5480 | 5481 | | |
| |||
0 commit comments