mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
f513a883ed
commit
4d12b0bfe4
+4
-4
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user