Skip to content

Commit d7b056c

Browse files
mateoguzmanafacebook-github-bot
authored andcommitted
Migrate JSTouchDispatcher to Kotlin (facebook#51242)
Summary: Migrate com.facebook.react.uimanager.JSTouchDispatcher to Kotlin. ## Changelog: [INTERNAL] - Migrate com.facebook.react.uimanager.JSTouchDispatcher to Kotlin Pull Request resolved: facebook#51242 Test Plan: ```bash yarn test-android yarn android ``` Reviewed By: cortinico Differential Revision: D74568593 Pulled By: rshest fbshipit-source-id: 2ce0087ce96025fd85aab2d61806cc9ada1d68cd
1 parent 436bdda commit d7b056c

File tree

3 files changed

+243
-252
lines changed

3 files changed

+243
-252
lines changed

packages/react-native/ReactAndroid/api/ReactAndroid.api

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3522,12 +3522,12 @@ public class com/facebook/react/uimanager/JSPointerDispatcher {
35223522
public fun onChildStartedNativeGesture (Landroid/view/View;Landroid/view/MotionEvent;Lcom/facebook/react/uimanager/events/EventDispatcher;)V
35233523
}
35243524

3525-
public class com/facebook/react/uimanager/JSTouchDispatcher {
3525+
public final class com/facebook/react/uimanager/JSTouchDispatcher {
35263526
public fun <init> (Landroid/view/ViewGroup;)V
3527-
public fun handleTouchEvent (Landroid/view/MotionEvent;Lcom/facebook/react/uimanager/events/EventDispatcher;)V
3528-
public fun handleTouchEvent (Landroid/view/MotionEvent;Lcom/facebook/react/uimanager/events/EventDispatcher;Lcom/facebook/react/bridge/ReactContext;)V
3529-
public fun onChildEndedNativeGesture (Landroid/view/MotionEvent;Lcom/facebook/react/uimanager/events/EventDispatcher;)V
3530-
public fun onChildStartedNativeGesture (Landroid/view/MotionEvent;Lcom/facebook/react/uimanager/events/EventDispatcher;)V
3527+
public final fun handleTouchEvent (Landroid/view/MotionEvent;Lcom/facebook/react/uimanager/events/EventDispatcher;)V
3528+
public final fun handleTouchEvent (Landroid/view/MotionEvent;Lcom/facebook/react/uimanager/events/EventDispatcher;Lcom/facebook/react/bridge/ReactContext;)V
3529+
public final fun onChildEndedNativeGesture (Landroid/view/MotionEvent;Lcom/facebook/react/uimanager/events/EventDispatcher;)V
3530+
public final fun onChildStartedNativeGesture (Landroid/view/MotionEvent;Lcom/facebook/react/uimanager/events/EventDispatcher;)V
35313531
}
35323532

35333533
public class com/facebook/react/uimanager/LayoutShadowNode : com/facebook/react/uimanager/ReactShadowNodeImpl {

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/JSTouchDispatcher.java

Lines changed: 0 additions & 247 deletions
This file was deleted.

0 commit comments

Comments
 (0)