public static class Recycler.Builder extends Component.Builder<Recycler.Builder>
mResourceResolver
Constructor and Description |
---|
Builder() |
accessibilityRole, alignSelf, alpha, aspectRatio, background, background, background, backgroundAttr, backgroundAttr, backgroundColor, backgroundRes, border, checkArgs, clickHandler, clipToOutline, 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, 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 Recycler.Builder binder(Binder<RecyclerView> binder)
public Recycler.Builder bottomPadding(int bottomPadding)
public Recycler.Builder canMeasure(boolean canMeasure)
public Recycler.Builder clipChildren(boolean clipChildren)
public Recycler.Builder clipToPadding(boolean clipToPadding)
public Recycler.Builder contentDescription(CharSequence contentDescription)
contentDescription
in class Component.Builder<Recycler.Builder>
public Recycler.Builder fadingEdgeLengthPx(@Px int fadingEdgeLength)
public Recycler.Builder fadingEdgeLengthRes(@DimenRes int resId)
public Recycler.Builder fadingEdgeLengthAttr(@AttrRes int attrResId, @DimenRes int defResId)
public Recycler.Builder fadingEdgeLengthAttr(@AttrRes int attrResId)
public Recycler.Builder fadingEdgeLengthDip(@Dimension(unit=0) float dip)
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(@IdRes int recyclerViewId)
public Recycler.Builder refreshHandler(EventHandler refreshHandler)
public Recycler.Builder refreshProgressBarColor(int refreshProgressBarColor)
public Recycler.Builder refreshProgressBarColorRes(@ColorRes int resId)
public Recycler.Builder refreshProgressBarColorAttr(@AttrRes int attrResId, @ColorRes int defResId)
public Recycler.Builder refreshProgressBarColorAttr(@AttrRes 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>
protected void release()
release
in class Component.Builder<Recycler.Builder>