Skip to content

Commit

Permalink
Introduce ViewManagerInterface
Browse files Browse the repository at this point in the history
Summary:
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

Differential Revision: D67957886
  • Loading branch information
mdvacca authored and facebook-github-bot committed Jan 9, 2025
1 parent cfec590 commit 9f7660f
Show file tree
Hide file tree
Showing 2 changed files with 16 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 @@ -5234,6 +5234,9 @@ public abstract interface class com/facebook/react/uimanager/ViewManagerDelegate
public abstract fun setProperty (Landroid/view/View;Ljava/lang/String;Ljava/lang/Object;)V
}

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

public class com/facebook/react/uimanager/ViewManagerPropertyUpdater {
public fun <init> ()V
public static fun clear ()V
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
* 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

import android.view.View

/** Marker interface to be extended by all code-generated ViewManagerInterface. */
public interface ViewManagerInterface<T : View> {}

0 comments on commit 9f7660f

Please sign in to comment.