Commit bbbc85d
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 7a4da40 commit bbbc85d
4 files changed
Lines changed: 1632 additions & 1853 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 | | |
| |||
5539 | 5540 | | |
5540 | 5541 | | |
5541 | 5542 | | |
5542 | | - | |
5543 | 5543 | | |
5544 | 5544 | | |
5545 | 5545 | | |
| |||
0 commit comments