public class ReactDropdownPickerManager extends ReactPickerManager implements AndroidDropdownPickerManagerInterface<ReactPicker>
NativeModule.NativeMethod
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REACT_CLASS |
sStateDescription
METHOD_TYPE_ASYNC, METHOD_TYPE_PROMISE, METHOD_TYPE_SYNC
Constructor and Description |
---|
ReactDropdownPickerManager() |
Modifier and Type | Method and Description |
---|---|
protected ReactPicker |
createViewInstance(ThemedReactContext reactContext)
Subclasses should return a new View instance of the proper type.
|
protected ViewManagerDelegate<ReactPicker> |
getDelegate()
Override this method and return an instance of
ViewManagerDelegate if the props of the
view managed by this view manager should be set via this delegate. |
java.lang.String |
getName() |
void |
setBackgroundColor(ReactPicker view,
int backgroundColor) |
addEventEmitters, onAfterUpdateTransaction, receiveCommand, setColor, setEnabled, setItems, setPrompt, setSelected
createShadowNodeInstance, getShadowNodeClass, updateExtraData
getExportedCustomDirectEventTypeConstants, setAccessibilityActions, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLiveRegion, setAccessibilityRole, setAccessibilityValue, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderRadius, setBorderTopLeftRadius, setBorderTopRightRadius, setElevation, setImportantForAccessibility, setNativeId, setOpacity, setRenderToHardwareTexture, setRotation, setScaleX, setScaleY, setTestId, setTransform, setTranslateX, setTranslateY, setViewState, setZIndex
createShadowNodeInstance, createView, createViewInstance, getCommandsMap, getExportedCustomBubblingEventTypeConstants, getExportedViewConstants, getNativeProps, measure, onDropViewInstance, receiveCommand, setPadding, updateLocalData, updateProperties, updateState
canOverrideExistingModule, getConstants, hasConstants, initialize, invalidate, onCatalystInstanceDestroy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setColor, setEnabled, setItems, setPrompt, setSelected
public static final java.lang.String REACT_CLASS
public java.lang.String getName()
getName
in interface NativeModule
getName
in class ViewManager<ReactPicker,LayoutShadowNode>
protected ReactPicker createViewInstance(ThemedReactContext reactContext)
ViewManager
createViewInstance
in class ViewManager<ReactPicker,LayoutShadowNode>
protected ViewManagerDelegate<ReactPicker> getDelegate()
ViewManager
ViewManagerDelegate
if the props of the
view managed by this view manager should be set via this delegate. The provided instance will
then get calls to ViewManagerDelegate.setProperty(View, String, Object)
for every prop
that must be updated and it's the delegate's responsibility to apply these values to the view.
By default this method returns null
, which means that the view manager doesn't have
a delegate and the view props should be set internally by the view manager itself.
getDelegate
in class ViewManager<ReactPicker,LayoutShadowNode>
ViewManagerDelegate
if the props of the view managed by this
view manager should be set via this delegatepublic void setBackgroundColor(ReactPicker view, int backgroundColor)
setBackgroundColor
in interface BaseViewManagerInterface<ReactPicker>
setBackgroundColor
in class BaseViewManager<ReactPicker,LayoutShadowNode>