public static class Spinner.Builder extends Component.Builder<Spinner.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, 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 Spinner.Builder caret(@Nullable Drawable caret)
public Spinner.Builder caretRes(@DrawableRes int resId)
public Spinner.Builder caretAttr(@AttrRes int attrResId, @DrawableRes int defResId)
public Spinner.Builder caretAttr(@AttrRes int attrResId)
public Spinner.Builder itemLayout(int itemLayout)
public Spinner.Builder itemLayoutRes(@IntegerRes int resId)
public Spinner.Builder itemLayoutAttr(@AttrRes int attrResId, @IntegerRes int defResId)
public Spinner.Builder itemLayoutAttr(@AttrRes int attrResId)
public Spinner.Builder options(List<String> options)
public Spinner.Builder selectedOption(String selectedOption)
public Spinner.Builder selectedTextColor(int selectedTextColor)
public Spinner.Builder selectedTextColorRes(@ColorRes int resId)
public Spinner.Builder selectedTextColorAttr(@AttrRes int attrResId, @ColorRes int defResId)
public Spinner.Builder selectedTextColorAttr(@AttrRes int attrResId)
public Spinner.Builder selectedTextSizePx(@Px float selectedTextSize)
public Spinner.Builder selectedTextSizeRes(@DimenRes int resId)
public Spinner.Builder selectedTextSizeAttr(@AttrRes int attrResId, @DimenRes int defResId)
public Spinner.Builder selectedTextSizeAttr(@AttrRes int attrResId)
public Spinner.Builder selectedTextSizeDip(@Dimension(unit=0) float dip)
public Spinner.Builder selectedTextSizeSp(@Dimension(unit=2) float sip)
public Spinner.Builder itemSelectedEventHandler(EventHandler itemSelectedEventHandler)
public Spinner.Builder getThis()
getThis
in class Component.Builder<Spinner.Builder>
public Spinner build()
build
in class Component.Builder<Spinner.Builder>
protected void release()
release
in class Component.Builder<Spinner.Builder>