public static final class Recycler.Builder extends Component.Builder<Recycler.Builder>
mResourceResolver
Constructor and Description |
---|
Builder() |
accessibilityHeading, accessibilityRole, accessibilityRoleDescription, accessibilityRoleDescription, accessibilityRoleDescription, alignSelf, alpha, alpha, aspectRatio, background, backgroundAttr, backgroundAttr, backgroundColor, backgroundColor, backgroundRes, border, checkArgs, clickable, clickHandler, clipToOutline, clone, contentDescription, contentDescription, dispatchPopulateAccessibilityEventHandler, duplicateParentState, enabled, flex, flexBasisAttr, flexBasisAttr, flexBasisDip, flexBasisPercent, flexBasisPx, flexBasisRes, flexGrow, flexShrink, focusable, focusChangeHandler, focusedHandler, foreground, foregroundAttr, foregroundAttr, foregroundColor, foregroundRes, fullImpressionHandler, getContext, handle, hasBackgroundSet, hasClickHandlerSet, heightAttr, heightAttr, heightDip, heightPercent, heightPx, heightRes, importantForAccessibility, init, interceptTouchHandler, invisibleHandler, isReferenceBaseline, 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, 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, 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<Recycler.Builder>
public Recycler.Builder binder(Binder<RecyclerView> binder)
public Recycler.Builder bottomPadding(int bottomPadding)
public Recycler.Builder clipChildren(boolean clipChildren)
Component.Builder
ViewGroup
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<Recycler.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 Recycler.Builder clipToPadding(boolean clipToPadding)
public Recycler.Builder contentDescription(CharSequence contentDescription)
contentDescription
in class Component.Builder<Recycler.Builder>
public Recycler.Builder fadingEdgeLengthPx(int fadingEdgeLength)
public Recycler.Builder fadingEdgeLengthDip(float dip)
public Recycler.Builder fadingEdgeLengthRes(int resId)
public Recycler.Builder fadingEdgeLengthAttr(int attrResId, int defResId)
public Recycler.Builder fadingEdgeLengthAttr(int attrResId)
public Recycler.Builder hasFixedSize(boolean hasFixedSize)
public Recycler.Builder horizontalFadingEdgeEnabled(boolean horizontalFadingEdgeEnabled)
public Recycler.Builder itemAnimator(RecyclerView.ItemAnimator itemAnimator)
public Recycler.Builder itemDecoration(RecyclerView.ItemDecoration itemDecoration)
public Recycler.Builder leftPadding(int leftPadding)
public Recycler.Builder nestedScrollingEnabled(boolean nestedScrollingEnabled)
public Recycler.Builder onScrollListener(RecyclerView.OnScrollListener onScrollListener)
public Recycler.Builder onScrollListeners(List<RecyclerView.OnScrollListener> onScrollListeners)
public Recycler.Builder overScrollMode(int overScrollMode)
public Recycler.Builder pullToRefresh(boolean pullToRefresh)
public Recycler.Builder recyclerEventsController(RecyclerEventsController recyclerEventsController)
public Recycler.Builder recyclerViewId(int recyclerViewId)
public Recycler.Builder refreshHandler(EventHandler refreshHandler)
public Recycler.Builder refreshProgressBarBackgroundColor(Integer refreshProgressBarBackgroundColor)
public Recycler.Builder refreshProgressBarBackgroundColorRes(int resId)
public Recycler.Builder refreshProgressBarBackgroundColorAttr(int attrResId, int defResId)
public Recycler.Builder refreshProgressBarBackgroundColorAttr(int attrResId)
public Recycler.Builder refreshProgressBarColor(int refreshProgressBarColor)
public Recycler.Builder refreshProgressBarColorRes(int resId)
public Recycler.Builder refreshProgressBarColorAttr(int attrResId, int defResId)
public Recycler.Builder refreshProgressBarColorAttr(int attrResId)
public Recycler.Builder rightPadding(int rightPadding)
public Recycler.Builder scrollBarStyle(int scrollBarStyle)
public Recycler.Builder snapHelper(SnapHelper snapHelper)
public Recycler.Builder topPadding(int topPadding)
public Recycler.Builder touchInterceptor(LithoRecylerView.TouchInterceptor touchInterceptor)
public Recycler.Builder verticalFadingEdgeEnabled(boolean verticalFadingEdgeEnabled)
public Recycler.Builder pTRRefreshEventHandler(EventHandler pTRRefreshEventHandler)
public Recycler.Builder getThis()
getThis
in class Component.Builder<Recycler.Builder>
public Recycler build()
build
in class Component.Builder<Recycler.Builder>