mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e9af5726c5
Summary: Changes the java props class and file names to include "ViewManager" as in: - ExampleViewManagerInterface - ExampleViewManagerDelegate Reviewed By: JoshuaGross, makovkastar Differential Revision: D16418965 fbshipit-source-id: f8b2f8fe4145c0ada9dc7c5234fcc41935783374
30 lines
908 B
Java
30 lines
908 B
Java
package com.facebook.react.uimanager;
|
|
|
|
import android.view.ViewGroup;
|
|
import com.facebook.react.viewmanagers.EventPropsNativeComponentViewManagerDelegate;
|
|
import com.facebook.react.viewmanagers.EventPropsNativeComponentViewManagerInterface;
|
|
|
|
public class EventPropsNativeComponentViewManager extends SimpleViewManager<ViewGroup>
|
|
implements EventPropsNativeComponentViewManagerInterface<ViewGroup> {
|
|
|
|
public static final String REACT_CLASS = "EventPropsNativeComponentView";
|
|
|
|
@Override
|
|
public String getName() {
|
|
return REACT_CLASS;
|
|
}
|
|
|
|
private void test() {
|
|
EventPropsNativeComponentViewManagerDelegate delegate =
|
|
new EventPropsNativeComponentViewManagerDelegate<ViewGroup>();
|
|
}
|
|
|
|
@Override
|
|
public ViewGroup createViewInstance(ThemedReactContext context) {
|
|
throw new IllegalStateException();
|
|
}
|
|
|
|
@Override
|
|
public void setDisabled(ViewGroup view, boolean value) {}
|
|
}
|