Migrate UIManagerListener to kotlin

Summary:
Migrate UIManagerListener to kotlin

changelog: [internal] internal

Reviewed By: tdn120

Differential Revision: D53672556

fbshipit-source-id: c07d206dacaec9dfcfb4b73a64efbd3e8c4848b6
This commit is contained in:
David Vacca
2024-02-12 13:23:00 -08:00
committed by Facebook GitHub Bot
parent 2090fe5cf8
commit 8cd6f39024
@@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.bridge;
package com.facebook.react.bridge
/** Listener used to hook into the UIManager update process. */
public interface UIManagerListener {
@@ -15,30 +15,30 @@ public interface UIManagerListener {
*
* <p>This is called by Paper only.
*/
void willDispatchViewUpdates(UIManager uiManager);
public fun willDispatchViewUpdates(uiManager: UIManager): Unit
/**
* Called on UIThread right before view updates are executed.
*
* <p>This is called by Fabric only.
*/
void willMountItems(UIManager uiManager);
public fun willMountItems(uiManager: UIManager): Unit
/**
* Called on UIThread right after view updates are executed.
*
* <p>This is called by Fabric only.
*/
void didMountItems(UIManager uiManager);
public fun didMountItems(uiManager: UIManager): Unit
/**
* Called on UIThread right after view updates are dispatched for a frame. Note that this will be
* called for every frame even if there are no updates.
*
* <p>This is called by Fabric only.
*/
void didDispatchMountItems(UIManager uiManager);
public fun didDispatchMountItems(uiManager: UIManager): Unit
/**
* Called right after scheduleMountItems is called in Fabric, after a new tree is committed.
*
* <p>This is called by Fabric only.
*/
void didScheduleMountItems(UIManager uiManager);
public fun didScheduleMountItems(uiManager: UIManager): Unit
}