Convert EventDispatcherImpl to Kotlin (#52150)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/52150

This is another class moving from Java to Kotlin.

Changelog:
[Internal] [Changed] -

Reviewed By: javache

Differential Revision: D77021952

fbshipit-source-id: 0b04a10bcbe65b7dc14ddd2821f80d90a43f8610
This commit is contained in:
Nicola Corti authored and Facebook GitHub Bot committed 2025-06-23 07:35:06 -07:00
1 parent ff7e24f19a
commit 1ced97fbe6
4 files changed
+340 -374

No files matched your search

@@ -4866,7 +4866,8 @@ public abstract interface class com/facebook/react/uimanager/events/EventDispatc
public abstract fun removeListener (Lcom/facebook/react/uimanager/events/EventDispatcherListener;)V
}
public class com/facebook/react/uimanager/events/EventDispatcherImpl : com/facebook/react/bridge/LifecycleEventListener, com/facebook/react/uimanager/events/EventDispatcher {
public final class com/facebook/react/uimanager/events/EventDispatcherImpl : com/facebook/react/bridge/LifecycleEventListener, com/facebook/react/uimanager/events/EventDispatcher {
public static final field Companion Lcom/facebook/react/uimanager/events/EventDispatcherImpl$Companion;
public fun <init> (Lcom/facebook/react/bridge/ReactApplicationContext;)V
public fun addBatchEventDispatchedListener (Lcom/facebook/react/uimanager/events/BatchEventDispatchedListener;)V
public fun addListener (Lcom/facebook/react/uimanager/events/EventDispatcherListener;)V
@@ -4880,6 +4881,9 @@ public class com/facebook/react/uimanager/events/EventDispatcherImpl : com/faceb
public fun removeListener (Lcom/facebook/react/uimanager/events/EventDispatcherListener;)V
}
public final class com/facebook/react/uimanager/events/EventDispatcherImpl$Companion {
}
public abstract interface class com/facebook/react/uimanager/events/EventDispatcherListener {
public abstract fun onEventDispatch (Lcom/facebook/react/uimanager/events/Event;)V
}