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 (facebook#56996)
Summary:
Pull Request resolved: facebook#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
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
@@ -4225,6 +4225,7 @@ public final class com/facebook/react/uimanager/UIManagerHelper {
4225
4225
}
4226
4226
4227
4227
public class com/facebook/react/uimanager/UIManagerModule : com/facebook/react/bridge/ReactContextBaseJavaModule, com/facebook/react/bridge/LifecycleEventListener, com/facebook/react/bridge/UIManager {
4228
+
public static final field Companion Lcom/facebook/react/uimanager/UIManagerModule$Companion;
4228
4229
public static final field NAME Ljava/lang/String;
4229
4230
public static final field TAG Ljava/lang/String;
4230
4231
public fun <init> (Lcom/facebook/react/bridge/ReactApplicationContext;Lcom/facebook/react/uimanager/ViewManagerResolver;I)V
@@ -4235,14 +4236,14 @@ public class com/facebook/react/uimanager/UIManagerModule : com/facebook/react/b
4235
4236
public fun addUIManagerEventListener (Lcom/facebook/react/bridge/UIManagerListener;)V
4236
4237
public fun clearJSResponder ()V
4237
4238
public fun configureNextLayoutAnimation (Lcom/facebook/react/bridge/ReadableMap;Lcom/facebook/react/bridge/Callback;Lcom/facebook/react/bridge/Callback;)V
4238
-
public static fun createConstants (Ljava/util/List;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
4239
+
public static final fun createConstants (Ljava/util/List;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
4239
4240
public fun createView (ILjava/lang/String;ILcom/facebook/react/bridge/ReadableMap;)V
4240
4241
public fun dispatchCommand (IILcom/facebook/react/bridge/ReadableArray;)V
4241
4242
public fun dispatchCommand (ILjava/lang/String;Lcom/facebook/react/bridge/ReadableArray;)V
4242
4243
public fun dispatchViewManagerCommand (ILcom/facebook/react/bridge/Dynamic;Lcom/facebook/react/bridge/ReadableArray;)V
4243
4244
public fun findSubviewIn (ILcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/Callback;)V
4244
4245
public fun getConstants ()Ljava/util/Map;
4245
-
public static fun getConstantsForViewManager (Lcom/facebook/react/uimanager/ViewManager;Ljava/util/Map;)Lcom/facebook/react/bridge/WritableMap;
4246
+
public static final fun getConstantsForViewManager (Lcom/facebook/react/uimanager/ViewManager;Ljava/util/Map;)Lcom/facebook/react/bridge/WritableMap;
4246
4247
public fun getConstantsForViewManager (Ljava/lang/String;)Lcom/facebook/react/bridge/WritableMap;
4247
4248
public fun getDefaultEventTypes ()Lcom/facebook/react/bridge/WritableMap;
4248
4249
public fun getDirectEventNamesResolver ()Lcom/facebook/react/uimanager/UIManagerModule$CustomEventNamesResolver;
@@ -4286,6 +4287,11 @@ public class com/facebook/react/uimanager/UIManagerModule : com/facebook/react/b
4286
4287
public fun viewIsDescendantOf (IILcom/facebook/react/bridge/Callback;)V
4287
4288
}
4288
4289
4290
+
public final class com/facebook/react/uimanager/UIManagerModule$Companion {
4291
+
public final fun createConstants (Ljava/util/List;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
4292
+
public final fun getConstantsForViewManager (Lcom/facebook/react/uimanager/ViewManager;Ljava/util/Map;)Lcom/facebook/react/bridge/WritableMap;
4293
+
}
4294
+
4289
4295
public abstract interface class com/facebook/react/uimanager/UIManagerModule$CustomEventNamesResolver {
4290
4296
public abstract fun resolveCustomEventName (Ljava/lang/String;)Ljava/lang/String;
0 commit comments