public static final class RecyclerCollectionComponent.Builder extends Component.Builder<RecyclerCollectionComponent.Builder>
mResourceResolver
accessibilityHeading, accessibilityRole, accessibilityRoleDescription, accessibilityRoleDescription, accessibilityRoleDescription, alignSelf, alpha, alpha, aspectRatio, background, backgroundAttr, backgroundAttr, backgroundColor, backgroundColor, backgroundDynamicDrawable, backgroundRes, border, checkArgs, clickable, clickHandler, clipToOutline, componentTag, contentDescription, contentDescription, contentDescription, dispatchPopulateAccessibilityEventHandler, duplicateChildrenStates, duplicateParentState, enabled, flex, flexBasisAttr, flexBasisAttr, flexBasisDip, flexBasisPercent, flexBasisPx, flexBasisRes, flexGrow, flexShrink, focusable, focusChangeHandler, focusedHandler, foreground, foregroundAttr, foregroundAttr, foregroundColor, foregroundColor, foregroundRes, fullImpressionHandler, getContext, handle, hasBackgroundSet, hasClickHandlerSet, heightAttr, heightAttr, heightDip, heightPercent, heightPx, heightRes, importantForAccessibility, interceptTouchHandler, invisibleHandler, isReferenceBaseline, key, layerType, layoutDirection, longClickHandler, marginAttr, marginAttr, marginAuto, marginDip, marginPercent, marginPx, marginRes, maxHeightAttr, maxHeightAttr, maxHeightDip, maxHeightPercent, maxHeightPx, maxHeightRes, maxWidthAttr, maxWidthAttr, maxWidthDip, maxWidthPercent, maxWidthPx, maxWidthRes, metadata, minHeightAttr, minHeightAttr, minHeightDip, minHeightPercent, minHeightPx, minHeightRes, minWidthAttr, minWidthAttr, minWidthDip, minWidthPercent, minWidthPx, minWidthRes, onInitializeAccessibilityEventHandler, onInitializeAccessibilityNodeInfoHandler, onPopulateAccessibilityEventHandler, onRequestSendAccessibilityEventHandler, outlineProvider, paddingAttr, paddingAttr, paddingDip, paddingPercent, paddingPx, paddingRes, performAccessibilityActionHandler, positionAttr, positionAttr, positionDip, positionPercent, positionPx, positionRes, positionType, rotation, rotation, rotationX, rotationY, scale, scaleX, scaleY, selected, sendAccessibilityEventHandler, sendAccessibilityEventUncheckedHandler, shadowElevation, shadowElevationAttr, shadowElevationAttr, shadowElevationDip, shadowElevationPx, shadowElevationRes, stateListAnimator, stateListAnimatorRes, testKey, touchExpansionAttr, touchExpansionAttr, touchExpansionDip, touchExpansionPx, touchExpansionRes, touchHandler, transitionKey, transitionKeyType, transitionName, translationX, translationY, unfocusedHandler, useHeightAsBaseline, viewTag, viewTags, visibilityChangedHandler, visibleHandler, visibleHeightRatio, visibleWidthRatio, widthAttr, widthAttr, widthDip, widthPercent, widthPx, widthRes, wrapInView
protected void setComponent(Component component)
setComponent
in class Component.Builder<RecyclerCollectionComponent.Builder>
public RecyclerCollectionComponent.Builder asyncPropUpdates(boolean asyncPropUpdates)
public RecyclerCollectionComponent.Builder asyncStateUpdates(boolean asyncStateUpdates)
public RecyclerCollectionComponent.Builder bottomPaddingPx(int bottomPadding)
public RecyclerCollectionComponent.Builder bottomPaddingDip(float dip)
public RecyclerCollectionComponent.Builder bottomPaddingRes(int resId)
public RecyclerCollectionComponent.Builder bottomPaddingAttr(int attrResId, int defResId)
public RecyclerCollectionComponent.Builder bottomPaddingAttr(int attrResId)
public RecyclerCollectionComponent.Builder canMeasureRecycler(boolean canMeasureRecycler)
public RecyclerCollectionComponent.Builder clipChildren(boolean clipChildren)
Component.Builder
android.view.ViewGroup#setClipChildren(boolean)
into components world. However,
there is no guarantee that child of this component would be translated into direct view child
in the resulting view hierarchy.clipChildren
in class Component.Builder<RecyclerCollectionComponent.Builder>
clipChildren
- true to clip children to their bounds. False allows each child to draw
outside of its own bounds within the parent, it doesn't allow children to draw outside of
the parent itself.public RecyclerCollectionComponent.Builder clipToPadding(boolean clipToPadding)
public RecyclerCollectionComponent.Builder disablePTR(boolean disablePTR)
public RecyclerCollectionComponent.Builder emptyComponent(Component emptyComponent)
public RecyclerCollectionComponent.Builder emptyComponent(Component.Builder<?> emptyComponentBuilder)
public RecyclerCollectionComponent.Builder errorComponent(Component errorComponent)
public RecyclerCollectionComponent.Builder errorComponent(Component.Builder<?> errorComponentBuilder)
public RecyclerCollectionComponent.Builder eventsController(RecyclerCollectionEventsController eventsController)
public RecyclerCollectionComponent.Builder fadingEdgeLengthPx(int fadingEdgeLength)
public RecyclerCollectionComponent.Builder fadingEdgeLengthDip(float dip)
public RecyclerCollectionComponent.Builder fadingEdgeLengthRes(int resId)
public RecyclerCollectionComponent.Builder fadingEdgeLengthAttr(int attrResId, int defResId)
public RecyclerCollectionComponent.Builder fadingEdgeLengthAttr(int attrResId)
public RecyclerCollectionComponent.Builder forceSyncStateUpdates(boolean forceSyncStateUpdates)
public RecyclerCollectionComponent.Builder horizontalFadingEdgeEnabled(boolean horizontalFadingEdgeEnabled)
public RecyclerCollectionComponent.Builder ignoreLoadingUpdates(boolean ignoreLoadingUpdates)
public RecyclerCollectionComponent.Builder incrementalMount(boolean incrementalMount)
public RecyclerCollectionComponent.Builder itemAnimator(RecyclerView.ItemAnimator itemAnimator)
public RecyclerCollectionComponent.Builder itemDecoration(RecyclerView.ItemDecoration itemDecoration)
public RecyclerCollectionComponent.Builder itemTouchListener(RecyclerView.OnItemTouchListener itemTouchListener)
public RecyclerCollectionComponent.Builder leftPaddingPx(int leftPadding)
public RecyclerCollectionComponent.Builder leftPaddingDip(float dip)
public RecyclerCollectionComponent.Builder leftPaddingRes(int resId)
public RecyclerCollectionComponent.Builder leftPaddingAttr(int attrResId, int defResId)
public RecyclerCollectionComponent.Builder leftPaddingAttr(int attrResId)
public RecyclerCollectionComponent.Builder loadEventsHandler(LoadEventsHandler loadEventsHandler)
public RecyclerCollectionComponent.Builder loadingComponent(Component loadingComponent)
public RecyclerCollectionComponent.Builder loadingComponent(Component.Builder<?> loadingComponentBuilder)
public RecyclerCollectionComponent.Builder nestedScrollingEnabled(boolean nestedScrollingEnabled)
public RecyclerCollectionComponent.Builder onScrollListener(RecyclerView.OnScrollListener onScrollListener)
public RecyclerCollectionComponent.Builder onScrollListeners(java.util.List<RecyclerView.OnScrollListener> onScrollListeners)
public RecyclerCollectionComponent.Builder overScrollMode(int overScrollMode)
public RecyclerCollectionComponent.Builder recyclerConfiguration(RecyclerConfiguration recyclerConfiguration)
public RecyclerCollectionComponent.Builder recyclerTouchEventHandler(EventHandler<TouchEvent> recyclerTouchEventHandler)
public RecyclerCollectionComponent.Builder recyclerViewId(int recyclerViewId)
public RecyclerCollectionComponent.Builder refreshProgressBarBackgroundColor(java.lang.Integer refreshProgressBarBackgroundColor)
public RecyclerCollectionComponent.Builder refreshProgressBarBackgroundColorRes(int resId)
public RecyclerCollectionComponent.Builder refreshProgressBarBackgroundColorAttr(int attrResId, int defResId)
public RecyclerCollectionComponent.Builder refreshProgressBarBackgroundColorAttr(int attrResId)
public RecyclerCollectionComponent.Builder refreshProgressBarColor(int refreshProgressBarColor)
public RecyclerCollectionComponent.Builder refreshProgressBarColorRes(int resId)
public RecyclerCollectionComponent.Builder refreshProgressBarColorAttr(int attrResId, int defResId)
public RecyclerCollectionComponent.Builder refreshProgressBarColorAttr(int attrResId)
public RecyclerCollectionComponent.Builder rightPaddingPx(int rightPadding)
public RecyclerCollectionComponent.Builder rightPaddingDip(float dip)
public RecyclerCollectionComponent.Builder rightPaddingRes(int resId)
public RecyclerCollectionComponent.Builder rightPaddingAttr(int attrResId, int defResId)
public RecyclerCollectionComponent.Builder rightPaddingAttr(int attrResId)
public RecyclerCollectionComponent.Builder scrollBarStyle(int scrollBarStyle)
public RecyclerCollectionComponent.Builder section(Section section)
public RecyclerCollectionComponent.Builder section(Section.Builder<?> sectionBuilder)
public RecyclerCollectionComponent.Builder sectionTreeTag(java.lang.String sectionTreeTag)
public RecyclerCollectionComponent.Builder sectionsViewLogger(SectionsRecyclerView.SectionsRecyclerViewLogger sectionsViewLogger)
public RecyclerCollectionComponent.Builder setRootAsync(boolean setRootAsync)
public RecyclerCollectionComponent.Builder startupLogger(LithoStartupLogger startupLogger)
public RecyclerCollectionComponent.Builder stickyHeaderControllerFactory(StickyHeaderControllerFactory stickyHeaderControllerFactory)
public RecyclerCollectionComponent.Builder topPaddingPx(int topPadding)
public RecyclerCollectionComponent.Builder topPaddingDip(float dip)
public RecyclerCollectionComponent.Builder topPaddingRes(int resId)
public RecyclerCollectionComponent.Builder topPaddingAttr(int attrResId, int defResId)
public RecyclerCollectionComponent.Builder topPaddingAttr(int attrResId)
public RecyclerCollectionComponent.Builder touchInterceptor(LithoRecyclerView.TouchInterceptor touchInterceptor)
public RecyclerCollectionComponent.Builder verticalFadingEdgeEnabled(boolean verticalFadingEdgeEnabled)
public RecyclerCollectionComponent.Builder pTRRefreshEventHandler(EventHandler<PTRRefreshEvent> pTRRefreshEventHandler)
@Deprecated public RecyclerCollectionComponent.Builder onScrollTrigger(EventTrigger onScrollTrigger)
@Deprecated public RecyclerCollectionComponent.Builder onRecyclerConfigChangedTrigger(EventTrigger onRecyclerConfigChangedTrigger)
@Deprecated public RecyclerCollectionComponent.Builder onClearRefreshingTrigger(EventTrigger onClearRefreshingTrigger)
public RecyclerCollectionComponent.Builder getThis()
getThis
in class Component.Builder<RecyclerCollectionComponent.Builder>
public RecyclerCollectionComponent build()
build
in class Component.Builder<RecyclerCollectionComponent.Builder>