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