Update non-codegen ViewManagerInterfaces to extend ViewManagerWithGeneratedInterface (#49274)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/49274

In this diff I'm updating all the non-codegen ViewManagerInterfaces to extend ViewManagerWithGeneratedInterface to make it consistent with codenerated ViewManagerInterfaces

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D69206247

fbshipit-source-id: 6a577d9ee7410be990a03e78847333b61b429e88
This commit is contained in:
David Vacca
2025-02-07 14:28:12 -08:00
committed by Facebook GitHub Bot
parent 6e0e72df71
commit 847f8902ff
2 changed files with 4 additions and 2 deletions
@@ -12,8 +12,9 @@ package com.facebook.react.viewmanagers;
import android.view.View;
import androidx.annotation.Nullable;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.uimanager.ViewManagerWithGeneratedInterface;
public interface AndroidPopupMenuManagerInterface<T extends View> {
public interface AndroidPopupMenuManagerInterface<T extends View> extends ViewManagerWithGeneratedInterface {
void setMenuItems(T view, @Nullable ReadableArray value);
void show(T view);
}
@@ -12,8 +12,9 @@ package com.facebook.react.viewmanagers;
import android.view.View;
import androidx.annotation.Nullable;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.uimanager.ViewManagerWithGeneratedInterface;
public interface SampleNativeComponentManagerInterface<T extends View> {
public interface SampleNativeComponentManagerInterface<T extends View> extends ViewManagerWithGeneratedInterface {
void setOpacity(T view, float value);
void setValues(T view, @Nullable ReadableArray value);
void changeBackgroundColor(T view, String color);