Skip to content

Commit

Permalink
Introduce ViewManagerInterface (#48548)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #48548

In this diff I'm introducing the new public API ViewManagerInterface, this will be used in the next diffs of the stack to be implemented by all viewManagerInterfaces that are code-gen when using the new architecture

changelog: [Android][Changed] Introduce new public API ViewManagerInterface

Reviewed By: javache

Differential Revision: D67957886

fbshipit-source-id: 372bf99e4c977c3a4d2252b54371ec9f0dae6e9f
  • Loading branch information
mdvacca authored and facebook-github-bot committed Jan 10, 2025
1 parent 6865e5a commit 40a0cdb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -5273,6 +5273,9 @@ public abstract interface class com/facebook/react/uimanager/ViewManagerResolver
public abstract fun getViewManagerNames ()Ljava/util/Collection;
}

public abstract interface class com/facebook/react/uimanager/ViewManagerWithGeneratedInterface {
}

public final class com/facebook/react/uimanager/ViewProps {
public static final field ACCESSIBILITY_ACTIONS Ljava/lang/String;
public static final field ACCESSIBILITY_COLLECTION Ljava/lang/String;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

package com.facebook.react.uimanager

/** Marker interface to be extended by all code-generated ViewManagerInterface. */
public interface ViewManagerWithGeneratedInterface {}

0 comments on commit 40a0cdb

Please sign in to comment.