Skip to content

Commit

Permalink
Changing interface of UIManagerProvider to be a functional interface …
Browse files Browse the repository at this point in the history
…for the return type of getUIManagerProvider()

Summary:
Changing interface of UIManagerProvider to be a [functional(SAM) interface](https://kotlinlang.org/docs/fun-interfaces.html) for the return type of getUIManagerProvider() to be used in various apps for clarity.

Changelog:
[Internal] internal

Reviewed By: javache

Differential Revision: D50846818

fbshipit-source-id: c22977b45b0118d70b994e14ff79ea8990248e3c
  • Loading branch information
arushikesarwani94 authored and facebook-github-bot committed Nov 2, 2023
1 parent cf30577 commit f3474cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import com.facebook.react.common.annotations.DeprecatedInNewArchitecture
* in isolation of others part of the new architecture of React Native.
*/
@DeprecatedInNewArchitecture
interface UIManagerProvider {
fun interface UIManagerProvider {

/* Provides a {@link com.facebook.react.bridge.UIManager} for the context received as a parameter. */
fun createUIManager(context: ReactApplicationContext): UIManager
Expand Down

0 comments on commit f3474cc

Please sign in to comment.