Skip to content

Commit 95f9ca5

Browse files
cortinicofacebook-github-bot
authored andcommitted
Convert com.facebook.react.devsupport.RedBoxContentView to Kotlin (#49090)
Summary: Pull Request resolved: #49090 Just another Kotlin migration for the devsupport package. Changelog: [Internal] [Changed] - Reviewed By: alanleedev Differential Revision: D68954222 fbshipit-source-id: d24ceefb1419d24546ae362a6f37625e724c658b
1 parent b76895d commit 95f9ca5

File tree

4 files changed

+269
-338
lines changed

4 files changed

+269
-338
lines changed

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

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2235,15 +2235,13 @@ public abstract interface class com/facebook/react/devsupport/ReactInstanceDevHe
22352235
public abstract fun toggleElementInspector ()V
22362236
}
22372237

2238-
public class com/facebook/react/devsupport/RedBoxContentView : android/widget/LinearLayout, android/widget/AdapterView$OnItemClickListener {
2239-
public fun <init> (Landroid/content/Context;)V
2240-
public fun init ()V
2238+
public final class com/facebook/react/devsupport/RedBoxContentView : android/widget/LinearLayout, android/widget/AdapterView$OnItemClickListener {
2239+
public fun <init> (Landroid/content/Context;Lcom/facebook/react/devsupport/interfaces/DevSupportManager;Lcom/facebook/react/devsupport/interfaces/RedBoxHandler;)V
2240+
public final fun init ()V
22412241
public fun onItemClick (Landroid/widget/AdapterView;Landroid/view/View;IJ)V
2242-
public fun refreshContentView ()V
2243-
public fun resetReporting ()V
2244-
public fun setDevSupportManager (Lcom/facebook/react/devsupport/interfaces/DevSupportManager;)Lcom/facebook/react/devsupport/RedBoxContentView;
2245-
public fun setExceptionDetails (Ljava/lang/String;[Lcom/facebook/react/devsupport/interfaces/StackFrame;)V
2246-
public fun setRedBoxHandler (Lcom/facebook/react/devsupport/interfaces/RedBoxHandler;)Lcom/facebook/react/devsupport/RedBoxContentView;
2242+
public final fun refreshContentView ()V
2243+
public final fun resetReporting ()V
2244+
public final fun setExceptionDetails (Ljava/lang/String;[Lcom/facebook/react/devsupport/interfaces/StackFrame;)V
22472245
}
22482246

22492247
public class com/facebook/react/devsupport/ReleaseDevSupportManager : com/facebook/react/devsupport/interfaces/DevSupportManager {

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/RedBoxContentView.java

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

0 commit comments

Comments
 (0)