Commit 31b4633
Convert
Summary:
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
Differential Revision: D107236883ReactHorizontalScrollView to Kotlin1 parent 3ec05da commit 31b4633
4 files changed
Lines changed: 1636 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 | |
|---|---|---|---|
| |||
5451 | 5451 | | |
5452 | 5452 | | |
5453 | 5453 | | |
| 5454 | + | |
5454 | 5455 | | |
5455 | 5456 | | |
5456 | 5457 | | |
| |||
0 commit comments