public static class RecyclerCollectionComponent.Builder extends Component.Builder<RecyclerCollectionComponent.Builder>
mResourceResolver
Constructor and Description |
---|
Builder() |
accessibilityRole, alignSelf, alpha, aspectRatio, background, background, background, backgroundAttr, backgroundAttr, backgroundColor, backgroundRes, border, 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, getContext, heightAttr, heightAttr, heightDip, heightPercent, heightPx, heightRes, importantForAccessibility, init, interceptTouchHandler, invisibleHandler, 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, rotation, scale, selected, sendAccessibilityEventHandler, sendAccessibilityEventUncheckedHandler, shadowElevationAttr, shadowElevationAttr, shadowElevationDip, shadowElevationPx, shadowElevationRes, stateListAnimator, stateListAnimatorRes, testKey, touchExpansionAttr, touchExpansionAttr, touchExpansionDip, touchExpansionPx, touchExpansionRes, touchHandler, transitionKey, unfocusedHandler, viewTag, viewTags, visibleHandler, visibleHeightRatio, visibleWidthRatio, widthAttr, widthAttr, widthDip, widthPercent, widthPx, widthRes, wrapInView
public RecyclerCollectionComponent.Builder asyncPropUpdates(boolean asyncPropUpdates)
public RecyclerCollectionComponent.Builder asyncStateUpdates(boolean asyncStateUpdates)
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 canMeasureRecycler(boolean canMeasureRecycler)
public RecyclerCollectionComponent.Builder clipChildren(boolean clipChildren)
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(@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 forceSyncStateUpdates(boolean forceSyncStateUpdates)
public RecyclerCollectionComponent.Builder horizontalFadingEdgeEnabled(boolean horizontalFadingEdgeEnabled)
public RecyclerCollectionComponent.Builder ignoreLoadingUpdates(boolean ignoreLoadingUpdates)
public RecyclerCollectionComponent.Builder itemAnimator(RecyclerView.ItemAnimator itemAnimator)
public RecyclerCollectionComponent.Builder itemDecoration(RecyclerView.ItemDecoration itemDecoration)
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 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(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(@IdRes int recyclerViewId)
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 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 scrollBarStyle(int scrollBarStyle)
public RecyclerCollectionComponent.Builder section(Section section)
public RecyclerCollectionComponent.Builder section(Section.Builder<?> sectionBuilder)
public RecyclerCollectionComponent.Builder sectionTreeTag(String sectionTreeTag)
public RecyclerCollectionComponent.Builder setRootAsync(boolean setRootAsync)
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 touchInterceptor(LithoRecylerView.TouchInterceptor touchInterceptor)
public RecyclerCollectionComponent.Builder verticalFadingEdgeEnabled(boolean verticalFadingEdgeEnabled)
public RecyclerCollectionComponent.Builder pTRRefreshEventHandler(EventHandler pTRRefreshEventHandler)
public RecyclerCollectionComponent.Builder onScrollTrigger(EventTrigger onScrollTrigger)
public RecyclerCollectionComponent.Builder key(String key)
Component.Builder
key
in class Component.Builder<RecyclerCollectionComponent.Builder>
public RecyclerCollectionComponent.Builder getThis()
getThis
in class Component.Builder<RecyclerCollectionComponent.Builder>
public RecyclerCollectionComponent build()
build
in class Component.Builder<RecyclerCollectionComponent.Builder>
protected void release()
release
in class Component.Builder<RecyclerCollectionComponent.Builder>