public class RCTViewPagerManager extends ReactViewPagerManager
NativeModule.NativeMethod
COMMAND_SET_PAGE, COMMAND_SET_PAGE_WITHOUT_ANIMATION
PROP_NATIVE_ID, PROP_TEST_ID
METHOD_TYPE_ASYNC, METHOD_TYPE_PROMISE, METHOD_TYPE_SYNC
Constructor and Description |
---|
RCTViewPagerManager() |
Modifier and Type | Method and Description |
---|---|
void |
addViews(ReactViewPager parent,
java.util.List<android.view.View> views)
Convenience method for batching a set of addView calls
Note that this adds the views to the beginning of the ViewGroup
|
void |
removeAllViews(ReactViewPager parent) |
addView, createViewInstance, getChildAt, getChildCount, getCommandsMap, getExportedCustomDirectEventTypeConstants, getName, needsCustomLayoutForChildren, receiveCommand, removeViewAt, setPageMargin, setPeekEnabled, setScrollEnabled
createShadowNodeInstance, getShadowNodeClass, getViewZIndex, removeView, setViewZIndex, shouldPromoteGrandchildren, updateExtraData
setAccessibilityComponentType, setAccessibilityLabel, setAccessibilityLiveRegion, setBackgroundColor, setElevation, setImportantForAccessibility, setNativeId, setOpacity, setRenderToHardwareTexture, setRotation, setScaleX, setScaleY, setTestId, setTransform, setTranslateX, setTranslateY, setZIndex
addEventEmitters, createShadowNodeInstance, createView, getExportedCustomBubblingEventTypeConstants, getExportedViewConstants, getNativeProps, onAfterUpdateTransaction, onDropViewInstance, updateProperties
canOverrideExistingModule, getConstants, hasConstants, initialize, onCatalystInstanceDestroy
public void addViews(ReactViewPager parent, java.util.List<android.view.View> views)
ViewGroupManager
addViews
in class ViewGroupManager<ReactViewPager>
parent
- the parent ViewGroupviews
- the set of views to addpublic void removeAllViews(ReactViewPager parent)
removeAllViews
in class ViewGroupManager<ReactViewPager>