From b37d5ac55d81545f70e8d89afc6b86d57e4d3475 Mon Sep 17 00:00:00 2001 From: David Vacca <515103+mdvacca@users.noreply.github.com> Date: Mon, 16 Dec 2024 12:02:33 -0800 Subject: [PATCH] Migrate UIBlock to Kotlin Summary: Migrate UIBlock to Kotlin changelog: [internal] internal Differential Revision: D67187378 --- .../facebook/react/uimanager/{UIBlock.java => UIBlock.kt} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/{UIBlock.java => UIBlock.kt} (63%) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIBlock.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIBlock.kt similarity index 63% rename from packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIBlock.java rename to packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIBlock.kt index cc468e6f141978..e4879d46d51721 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIBlock.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIBlock.kt @@ -5,9 +5,9 @@ * LICENSE file in the root directory of this source tree. */ -package com.facebook.react.uimanager; +package com.facebook.react.uimanager /** A task to execute on the UI View for third party libraries. */ -public interface UIBlock { - public void execute(NativeViewHierarchyManager nativeViewHierarchyManager); +public fun interface UIBlock { + public fun execute(nativeViewHierarchyManager: NativeViewHierarchyManager?): Unit }