public static class RecyclerCollectionComponent.Builder extends Component.Builder<RecyclerCollectionComponent,RecyclerCollectionComponent.Builder>
Constructor and Description |
---|
Builder() |
alignSelf, alpha, aspectRatio, background, background, background, backgroundAttr, backgroundAttr, backgroundColor, backgroundRes, border, buildWithLayout, checkArgs, clickHandler, clipToOutline, contentDescription, contentDescription, contentDescription, dispatchPopulateAccessibilityEventHandler, duplicateParentState, enabled, flex, flexBasisAttr, flexBasisAttr, flexBasisDip, flexBasisPercent, flexBasisPx, flexBasisRes, flexGrow, flexShrink, focusable, focusChangeHandler, focusedHandler, foreground, foregroundAttr, foregroundAttr, foregroundColor, foregroundRes, fullImpressionHandler, heightAttr, heightAttr, heightDip, heightPercent, heightPx, heightRes, importantForAccessibility, init, interceptTouchHandler, invisibleHandler, key, layoutDirection, longClickHandler, marginAttr, marginAttr, marginAuto, marginDip, marginPercent, marginPx, marginRes, maxHeightAttr, maxHeightAttr, maxHeightDip, maxHeightPercent, maxHeightPx, maxHeightRes, maxWidthAttr, maxWidthAttr, maxWidthDip, maxWidthPercent, maxWidthPx, maxWidthRes, 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, scale, sendAccessibilityEventHandler, sendAccessibilityEventUncheckedHandler, shadowElevationAttr, shadowElevationAttr, shadowElevationDip, shadowElevationPx, shadowElevationRes, testKey, touchExpansionAttr, touchExpansionAttr, touchExpansionDip, touchExpansionPx, touchExpansionRes, touchHandler, transitionKey, unfocusedHandler, viewTag, viewTags, visibleHandler, visibleHeightRatio, visibleWidthRatio, widthAttr, widthAttr, widthDip, widthPercent, widthPx, widthRes, withLayout, wrapInView
dipsToPixels, init, resolveBoolAttr, resolveBoolRes, resolveColorAttr, resolveColorRes, resolveDimenOffsetAttr, resolveDimenOffsetRes, resolveDimenSizeAttr, resolveDimenSizeRes, resolveDrawableAttr, resolveDrawableRes, resolveFloatAttr, resolveFloatRes, resolveIntArrayAttr, resolveIntAttr, resolveIntegerArrayAttr, resolveIntegerArrayRes, resolveIntRes, resolveStringArrayAttr, resolveStringArrayRes, resolveStringAttr, resolveStringRes, resolveStringRes, sipsToPixels
public RecyclerCollectionComponent.Builder section(Section<?> section)
public RecyclerCollectionComponent.Builder loadingComponent(Component<?> loadingComponent)
public RecyclerCollectionComponent.Builder loadingComponent(Component.Builder<?,?> loadingComponentBuilder)
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 onScrollListener(RecyclerView.OnScrollListener onScrollListener)
public RecyclerCollectionComponent.Builder onScrollListeners(List<RecyclerView.OnScrollListener> onScrollListeners)
public RecyclerCollectionComponent.Builder loadEventsHandler(LoadEventsHandler loadEventsHandler)
public RecyclerCollectionComponent.Builder clipToPadding(boolean clipToPadding)
public RecyclerCollectionComponent.Builder clipChildren(boolean clipChildren)
public RecyclerCollectionComponent.Builder nestedScrollingEnabled(boolean nestedScrollingEnabled)
public RecyclerCollectionComponent.Builder scrollBarStyle(int scrollBarStyle)
public RecyclerCollectionComponent.Builder itemDecoration(RecyclerView.ItemDecoration itemDecoration)
public RecyclerCollectionComponent.Builder itemAnimator(RecyclerView.ItemAnimator itemAnimator)
public RecyclerCollectionComponent.Builder disablePTR(boolean disablePTR)
public RecyclerCollectionComponent.Builder recyclerViewId(@IdRes int recyclerViewId)
public RecyclerCollectionComponent.Builder leftPaddingPx(@Px int leftPadding)
public RecyclerCollectionComponent.Builder leftPaddingRes(@DimenRes int resId)
public RecyclerCollectionComponent.Builder leftPaddingAttr(@AttrRes int attrResId, @DimenRes int defResId)
public RecyclerCollectionComponent.Builder leftPaddingAttr(@AttrRes int attrResId)
public RecyclerCollectionComponent.Builder leftPaddingDip(@Dimension(unit=0) float dip)
public RecyclerCollectionComponent.Builder rightPaddingPx(@Px int rightPadding)
public RecyclerCollectionComponent.Builder rightPaddingRes(@DimenRes int resId)
public RecyclerCollectionComponent.Builder rightPaddingAttr(@AttrRes int attrResId, @DimenRes int defResId)
public RecyclerCollectionComponent.Builder rightPaddingAttr(@AttrRes int attrResId)
public RecyclerCollectionComponent.Builder rightPaddingDip(@Dimension(unit=0) float dip)
public RecyclerCollectionComponent.Builder topPaddingPx(@Px int topPadding)
public RecyclerCollectionComponent.Builder topPaddingRes(@DimenRes int resId)
public RecyclerCollectionComponent.Builder topPaddingAttr(@AttrRes int attrResId, @DimenRes int defResId)
public RecyclerCollectionComponent.Builder topPaddingAttr(@AttrRes int attrResId)
public RecyclerCollectionComponent.Builder topPaddingDip(@Dimension(unit=0) float dip)
public RecyclerCollectionComponent.Builder bottomPaddingPx(@Px int bottomPadding)
public RecyclerCollectionComponent.Builder bottomPaddingRes(@DimenRes int resId)
public RecyclerCollectionComponent.Builder bottomPaddingAttr(@AttrRes int attrResId, @DimenRes int defResId)
public RecyclerCollectionComponent.Builder bottomPaddingAttr(@AttrRes int attrResId)
public RecyclerCollectionComponent.Builder bottomPaddingDip(@Dimension(unit=0) float dip)
public RecyclerCollectionComponent.Builder recyclerTouchEventHandler(EventHandler<TouchEvent> recyclerTouchEventHandler)
public RecyclerCollectionComponent.Builder canMeasureRecycler(boolean canMeasureRecycler)
public RecyclerCollectionComponent.Builder horizontalFadingEdgeEnabled(boolean horizontalFadingEdgeEnabled)
public RecyclerCollectionComponent.Builder verticalFadingEdgeEnabled(boolean verticalFadingEdgeEnabled)
public RecyclerCollectionComponent.Builder fadingEdgeLengthPx(@Px int fadingEdgeLength)
public RecyclerCollectionComponent.Builder fadingEdgeLengthRes(@DimenRes int resId)
public RecyclerCollectionComponent.Builder fadingEdgeLengthAttr(@AttrRes int attrResId, @DimenRes int defResId)
public RecyclerCollectionComponent.Builder fadingEdgeLengthAttr(@AttrRes int attrResId)
public RecyclerCollectionComponent.Builder fadingEdgeLengthDip(@Dimension(unit=0) float dip)
public RecyclerCollectionComponent.Builder refreshProgressBarColor(int refreshProgressBarColor)
public RecyclerCollectionComponent.Builder refreshProgressBarColorRes(@ColorRes int resId)
public RecyclerCollectionComponent.Builder refreshProgressBarColorAttr(@AttrRes int attrResId, @ColorRes int defResId)
public RecyclerCollectionComponent.Builder refreshProgressBarColorAttr(@AttrRes int attrResId)
public RecyclerCollectionComponent.Builder recyclerConfiguration(RecyclerCollectionComponentSpec.RecyclerConfiguration recyclerConfiguration)
public RecyclerCollectionComponent.Builder eventsController(RecyclerCollectionEventsController eventsController)
public RecyclerCollectionComponent.Builder asyncPropUpdates(boolean asyncPropUpdates)
public RecyclerCollectionComponent.Builder asyncStateUpdates(boolean asyncStateUpdates)
public RecyclerCollectionComponent.Builder sectionTreeTag(String sectionTreeTag)
public RecyclerCollectionComponent.Builder getThis()
getThis
in class Component.Builder<RecyclerCollectionComponent,RecyclerCollectionComponent.Builder>
public Component<RecyclerCollectionComponent> build()
build
in class Component.Builder<RecyclerCollectionComponent,RecyclerCollectionComponent.Builder>
protected void release()
release
in class Component.Builder<RecyclerCollectionComponent,RecyclerCollectionComponent.Builder>