You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate UIManagerModule from Java to Kotlin (#56996)
Summary:
Pull Request resolved: #56996
Migrate `UIManagerModule` from Java to Kotlin as part of the ongoing Kotlin migration effort. This is a mechanical conversion of a deprecated legacy module with no functional changes.
Changelog:
[Android][Changed] - Migrate `UIManagerModule` from Java to Kotlin
Reviewed By: javache
Differential Revision: D106080563
fbshipit-source-id: 2d0b21cc26c50e1e026b579e4adcee7e71a2be18
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/api/ReactAndroid.api
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4227,6 +4227,7 @@ public final class com/facebook/react/uimanager/UIManagerHelper {
4227
4227
}
4228
4228
4229
4229
public class com/facebook/react/uimanager/UIManagerModule : com/facebook/react/bridge/ReactContextBaseJavaModule, com/facebook/react/bridge/LifecycleEventListener, com/facebook/react/bridge/UIManager {
4230
+
public static final field Companion Lcom/facebook/react/uimanager/UIManagerModule$Companion;
4230
4231
public static final field NAME Ljava/lang/String;
4231
4232
public static final field TAG Ljava/lang/String;
4232
4233
public fun <init> (Lcom/facebook/react/bridge/ReactApplicationContext;Lcom/facebook/react/uimanager/ViewManagerResolver;I)V
@@ -4237,14 +4238,14 @@ public class com/facebook/react/uimanager/UIManagerModule : com/facebook/react/b
4237
4238
public fun addUIManagerEventListener (Lcom/facebook/react/bridge/UIManagerListener;)V
4238
4239
public fun clearJSResponder ()V
4239
4240
public fun configureNextLayoutAnimation (Lcom/facebook/react/bridge/ReadableMap;Lcom/facebook/react/bridge/Callback;Lcom/facebook/react/bridge/Callback;)V
4240
-
public static fun createConstants (Ljava/util/List;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
4241
+
public static final fun createConstants (Ljava/util/List;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
4241
4242
public fun createView (ILjava/lang/String;ILcom/facebook/react/bridge/ReadableMap;)V
4242
4243
public fun dispatchCommand (IILcom/facebook/react/bridge/ReadableArray;)V
4243
4244
public fun dispatchCommand (ILjava/lang/String;Lcom/facebook/react/bridge/ReadableArray;)V
4244
4245
public fun dispatchViewManagerCommand (ILcom/facebook/react/bridge/Dynamic;Lcom/facebook/react/bridge/ReadableArray;)V
4245
4246
public fun findSubviewIn (ILcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/Callback;)V
4246
4247
public fun getConstants ()Ljava/util/Map;
4247
-
public static fun getConstantsForViewManager (Lcom/facebook/react/uimanager/ViewManager;Ljava/util/Map;)Lcom/facebook/react/bridge/WritableMap;
4248
+
public static final fun getConstantsForViewManager (Lcom/facebook/react/uimanager/ViewManager;Ljava/util/Map;)Lcom/facebook/react/bridge/WritableMap;
4248
4249
public fun getConstantsForViewManager (Ljava/lang/String;)Lcom/facebook/react/bridge/WritableMap;
4249
4250
public fun getDefaultEventTypes ()Lcom/facebook/react/bridge/WritableMap;
4250
4251
public fun getDirectEventNamesResolver ()Lcom/facebook/react/uimanager/UIManagerModule$CustomEventNamesResolver;
@@ -4288,6 +4289,11 @@ public class com/facebook/react/uimanager/UIManagerModule : com/facebook/react/b
4288
4289
public fun viewIsDescendantOf (IILcom/facebook/react/bridge/Callback;)V
4289
4290
}
4290
4291
4292
+
public final class com/facebook/react/uimanager/UIManagerModule$Companion {
4293
+
public final fun createConstants (Ljava/util/List;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
4294
+
public final fun getConstantsForViewManager (Lcom/facebook/react/uimanager/ViewManager;Ljava/util/Map;)Lcom/facebook/react/bridge/WritableMap;
4295
+
}
4296
+
4291
4297
public abstract interface class com/facebook/react/uimanager/UIManagerModule$CustomEventNamesResolver {
4292
4298
public abstract fun resolveCustomEventName (Ljava/lang/String;)Ljava/lang/String;
0 commit comments