public class RecyclerViewBackedScrollViewManager extends ViewGroupManager<RecyclerViewBackedScrollView> implements ReactScrollViewCommandHelper.ScrollCommandHandler<RecyclerViewBackedScrollView>
RecyclerViewBackedScrollView
.mZIndexHash
PROP_TEST_ID
Constructor and Description |
---|
RecyclerViewBackedScrollViewManager() |
Modifier and Type | Method and Description |
---|---|
void |
addView(RecyclerViewBackedScrollView parent,
android.view.View child,
int index) |
protected RecyclerViewBackedScrollView |
createViewInstance(ThemedReactContext reactContext)
Subclasses should return a new View instance of the proper type.
|
android.view.View |
getChildAt(RecyclerViewBackedScrollView parent,
int index) |
int |
getChildCount(RecyclerViewBackedScrollView parent) |
java.util.Map |
getExportedCustomDirectEventTypeConstants()
Returns a map of config data passed to JS that defines eligible events that can be placed on
native views.
|
java.lang.String |
getName() |
void |
receiveCommand(RecyclerViewBackedScrollView view,
int commandId,
ReadableArray args)
Provides implementation of commands supported by
ReactScrollViewManager |
void |
removeViewAt(RecyclerViewBackedScrollView parent,
int index) |
void |
scrollTo(RecyclerViewBackedScrollView scrollView,
ReactScrollViewCommandHelper.ScrollToCommandData data) |
void |
setOnContentSizeChange(RecyclerViewBackedScrollView view,
boolean value) |
addViews, createShadowNodeInstance, getShadowNodeClass, needsCustomLayoutForChildren, removeAllViews, removeView, reorderChildrenByZIndex, setViewZIndex, shouldPromoteGrandchildren, updateExtraData
setAccessibilityComponentType, setAccessibilityLabel, setAccessibilityLiveRegion, setBackgroundColor, setElevation, setImportantForAccessibility, setOpacity, setRenderToHardwareTexture, setRotation, setScaleX, setScaleY, setTestId, setTransform, setTranslateX, setTranslateY, setZIndex
addEventEmitters, createView, getCommandsMap, getExportedCustomBubblingEventTypeConstants, getExportedViewConstants, getNativeProps, onAfterUpdateTransaction, onDropViewInstance, updateProperties
public java.lang.String getName()
getName
in class ViewManager<RecyclerViewBackedScrollView,LayoutShadowNode>
public void setOnContentSizeChange(RecyclerViewBackedScrollView view, boolean value)
protected RecyclerViewBackedScrollView createViewInstance(ThemedReactContext reactContext)
ViewManager
createViewInstance
in class ViewManager<RecyclerViewBackedScrollView,LayoutShadowNode>
public void addView(RecyclerViewBackedScrollView parent, android.view.View child, int index)
addView
in class ViewGroupManager<RecyclerViewBackedScrollView>
public int getChildCount(RecyclerViewBackedScrollView parent)
getChildCount
in class ViewGroupManager<RecyclerViewBackedScrollView>
public android.view.View getChildAt(RecyclerViewBackedScrollView parent, int index)
getChildAt
in class ViewGroupManager<RecyclerViewBackedScrollView>
public void removeViewAt(RecyclerViewBackedScrollView parent, int index)
removeViewAt
in class ViewGroupManager<RecyclerViewBackedScrollView>
public void receiveCommand(RecyclerViewBackedScrollView view, int commandId, @Nullable ReadableArray args)
ReactScrollViewManager
receiveCommand
in class ViewManager<RecyclerViewBackedScrollView,LayoutShadowNode>
view
- View instance that should receive the commandcommandId
- code of the commandargs
- optional arguments for the commandpublic void scrollTo(RecyclerViewBackedScrollView scrollView, ReactScrollViewCommandHelper.ScrollToCommandData data)
scrollTo
in interface ReactScrollViewCommandHelper.ScrollCommandHandler<RecyclerViewBackedScrollView>
@Nullable public java.util.Map getExportedCustomDirectEventTypeConstants()
ViewManager
getExportedCustomDirectEventTypeConstants
in class ViewManager<RecyclerViewBackedScrollView,LayoutShadowNode>