Kotlinfy UIManagerProvider

Summary:
UIManagerProvider.java -> UIManager.kt so as to take advantage of Functional SAM interfaces of Kotlin for simplication

Changelog:
[Internal] internal

Reviewed By: rshest

Differential Revision: D50855256

fbshipit-source-id: 352edb39f019446c2ddae88a914c898f46239fce
This commit is contained in:
Arushi Kesarwani
2023-11-01 11:58:58 -07:00
committed by Facebook GitHub Bot
parent f513a883ed
commit 4d12b0bfe4
@@ -5,9 +5,9 @@
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.bridge;
package com.facebook.react.bridge
import com.facebook.react.common.annotations.DeprecatedInNewArchitecture;
import com.facebook.react.common.annotations.DeprecatedInNewArchitecture
/**
* {@link UIManagerProvider} is used to create UIManager objects during the initialization of React
@@ -15,8 +15,8 @@ import com.facebook.react.common.annotations.DeprecatedInNewArchitecture;
* in isolation of others part of the new architecture of React Native.
*/
@DeprecatedInNewArchitecture
public interface UIManagerProvider {
interface UIManagerProvider {
/* Provides a {@link com.facebook.react.bridge.UIManager} for the context received as a parameter. */
UIManager createUIManager(ReactApplicationContext context);
fun createUIManager(context: ReactApplicationContext): UIManager
}