diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactCompoundViewGroup.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactCompoundViewGroup.kt similarity index 80% rename from packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactCompoundViewGroup.java rename to packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactCompoundViewGroup.kt index 9e38a645abf..0c8f50b40ab 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactCompoundViewGroup.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactCompoundViewGroup.kt @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -package com.facebook.react.uimanager; +package com.facebook.react.uimanager /** * This interface should be implemented by native ViewGroup subclasses that can represent more than @@ -13,10 +13,10 @@ package com.facebook.react.uimanager; * overlap, and TouchTargetHelper may incorrectly dispatch touch event to a wrong element because it * prioritizes children over parents. */ -public interface ReactCompoundViewGroup extends ReactCompoundView { +public interface ReactCompoundViewGroup : ReactCompoundView { /** * Returns true if react node responsible for the touch event is flattened into this ViewGroup. * Use reactTagForTouch() to get its tag. */ - boolean interceptsTouchEvent(float touchX, float touchY); + public fun interceptsTouchEvent(touchX: Float, touchY: Float): Boolean }