mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
32b812c05c
Summary: This diff adds some basic tests that ensure all of the e2e test components can compile with the interface is implemented (we also have these tests for cxx) Reviewed By: JoshuaGross, mdvacca Differential Revision: D16378756 fbshipit-source-id: d0c6dc976c74f6a388068e66b9a2135bc4ce4652
40 lines
1.1 KiB
Java
40 lines
1.1 KiB
Java
package com.facebook.react.uimanager;
|
|
|
|
import android.view.ViewGroup;
|
|
import com.facebook.react.bridge.ReadableMap;
|
|
import com.facebook.react.viewmanagers.MultiNativePropNativeComponentDelegate;
|
|
import com.facebook.react.viewmanagers.MultiNativePropNativeComponentInterface;
|
|
|
|
public class MultiNativePropNativeComponentViewManager extends SimpleViewManager<ViewGroup>
|
|
implements MultiNativePropNativeComponentInterface<ViewGroup> {
|
|
|
|
public static final String REACT_CLASS = "MultiNativePropNativeComponentView";
|
|
|
|
@Override
|
|
public String getName() {
|
|
return REACT_CLASS;
|
|
}
|
|
|
|
private void test() {
|
|
MultiNativePropNativeComponentDelegate delegate =
|
|
new MultiNativePropNativeComponentDelegate<ViewGroup>();
|
|
}
|
|
|
|
@Override
|
|
public ViewGroup createViewInstance(ThemedReactContext context) {
|
|
throw new IllegalStateException();
|
|
}
|
|
|
|
@Override
|
|
public void setThumbImage(ViewGroup view, ReadableMap value) {}
|
|
|
|
@Override
|
|
public void setColor(ViewGroup view, Integer value) {}
|
|
|
|
@Override
|
|
public void setThumbTintColor(ViewGroup view, Integer value) {}
|
|
|
|
@Override
|
|
public void setPoint(ViewGroup view, ReadableMap value) {}
|
|
}
|