Skip to content

Wrappers

Márton Braun edited this page Aug 2, 2017 · 5 revisions

Wrapper reference

A complete list of which variable or method call in this library wraps the method calls from the original library.

AbstractDrawerItem

Original method Wrapper
withEnabled
isEnabled
var enabled (AbstractDrawerItemKt)
withIdentifier
getIdentifier
var identifier (AbstractDrawerItemKt)
withIsExpanded
isExpanded
var isExpanded (AbstractDrawerItemKt)
withOnDrawerItemClickListener fun onClick (AbstractDrawerItemKt)
withOnDrawerItemClickListener fun onClick (AbstractDrawerItemKt)
withPostOnBindViewListener fun onBindView (AbstractDrawerItemKt)
withSelectable
isSelectable
var selectable (AbstractDrawerItemKt)
withSelectedBackgroundAnimated
isSelectedBackgroundAnimated
var selectedBackgroundAnimated (AbstractDrawerItemKt)
withSetSelected
isSelected
var selected (AbstractDrawerItemKt)
withSetSelected
isSelected
var setSelected (AbstractDrawerItemKt)
withTag
getTag
var tag (AbstractDrawerItemKt)

AbstractSwitchableDrawerItem

Original method Wrapper
withCheckable var checkable (AbstractSwitchableDrawerItemKt)
withChecked
isChecked
var checked (AbstractSwitchableDrawerItemKt)
withOnCheckedChangeListener fun onCheckedChange (AbstractSwitchableDrawerItemKt)
withOnCheckedChangeListener fun onSwitchChanged (AbstractSwitchableDrawerItemKt)
withOnCheckedChangeListener fun onToggled (AbstractSwitchableDrawerItemKt)
withSwitchEnabled
isSwitchEnabled
var switchEnabled (AbstractSwitchableDrawerItemKt)

AbstractToggleableDrawerItem

Original method Wrapper
withChecked
isChecked
var checked (AbstractToggleableDrawerItemKt)
withOnCheckedChangeListener fun onCheckedChange (AbstractToggleableDrawerItemKt)
withOnCheckedChangeListener fun onToggleChanged (AbstractToggleableDrawerItemKt)
withOnCheckedChangeListener fun onToggled (AbstractToggleableDrawerItemKt)
withToggleEnabled
isToggleEnabled
var toggleEnabled (AbstractToggleableDrawerItemKt)

AccountHeaderBuilder

Original method Wrapper
withAccountHeader var customView (AccountHeaderBuilderKt)
withAccountHeader var customViewRes (AccountHeaderBuilderKt)
withAlternativeProfileHeaderSwitching var alternativeSwitching (AccountHeaderBuilderKt)
withCloseDrawerOnProfileListClick var closeDrawerOnProfileListClick (AccountHeaderBuilderKt)
withCloseDrawerOnProfileListClick var closeOnClick (AccountHeaderBuilderKt)
withCompactStyle var compactStyle (AccountHeaderBuilderKt)
withCurrentProfileHiddenInList var currentHidden (AccountHeaderBuilderKt)
withCurrentProfileHiddenInList var currentProfileHiddenInList (AccountHeaderBuilderKt)
withDividerBelowHeader var dividerBelow (AccountHeaderBuilderKt)
withDrawer var drawer (AccountHeaderBuilderKt)
withEmailTypeface var emailTypeface (AccountHeaderBuilderKt)
withHeaderBackground var background (AccountHeaderBuilderKt)
withHeaderBackground var backgroundDrawable (AccountHeaderBuilderKt)
withHeaderBackground var backgroundRes (AccountHeaderBuilderKt)
withHeaderBackgroundScaleType var backgroundScaleType (AccountHeaderBuilderKt)
withHeightDp var heightDp (AccountHeaderBuilderKt)
withHeightPx var heightPx (AccountHeaderBuilderKt)
withHeightRes var heightRes (AccountHeaderBuilderKt)
withNameTypeface var nameTypeface (AccountHeaderBuilderKt)
withOnAccountHeaderItemLongClickListener fun onItemLongClick (AccountHeaderBuilderKt)
withOnAccountHeaderListener fun onProfileChanged (AccountHeaderBuilderKt)
withOnAccountHeaderProfileImageListener fun onProfileImageClick (AccountHeaderBuilderKt)
withOnAccountHeaderProfileImageListener fun onProfileImageLongClick (AccountHeaderBuilderKt)
withOnAccountHeaderSelectionViewClickListener fun onSelectionViewClick (AccountHeaderBuilderKt)
withOnProfileClickDrawerCloseDelay var delayOnDrawerClose (AccountHeaderBuilderKt)
withOnlyMainProfileImageVisible var onlyMainProfileImageVisible (AccountHeaderBuilderKt)
withOnlySmallProfileImagesVisible var onlySmallProfileImagesVisible (AccountHeaderBuilderKt)
withPaddingBelowHeader var paddingBelow (AccountHeaderBuilderKt)
withProfileImagesClickable var profileImagesClickable (AccountHeaderBuilderKt)
withProfileImagesVisible var profileImagesVisible (AccountHeaderBuilderKt)
withResetDrawerOnProfileListClick var closeListAfterSelection (AccountHeaderBuilderKt)
withResetDrawerOnProfileListClick var resetDrawerOnProfileListClick (AccountHeaderBuilderKt)
withSavedInstance var savedInstance (AccountHeaderBuilderKt)
withSelectionFirstLine var selectionFirstLine (AccountHeaderBuilderKt)
withSelectionFirstLineShown var selectionFirstLineShown (AccountHeaderBuilderKt)
withSelectionListEnabled var selectionListEnabled (AccountHeaderBuilderKt)
withSelectionListEnabledForSingleProfile var selectionListEnabledForSingleProfile (AccountHeaderBuilderKt)
withSelectionSecondLine var selectionSecondLine (AccountHeaderBuilderKt)
withSelectionSecondLineShown var selectionSecondLineShown (AccountHeaderBuilderKt)
withTextColor var textColor (AccountHeaderBuilderKt)
withTextColorRes var textColorRes (AccountHeaderBuilderKt)
withThreeSmallProfileImages var threeSmallProfileImages (AccountHeaderBuilderKt)
withTranslucentStatusBar var translucentStatusBar (AccountHeaderBuilderKt)
withTypeface var typeface (AccountHeaderBuilderKt)

BadgeStyle

Original method Wrapper
withBadgeBackground var backgroundDrawable (BadgeKt)
withColor var color (BadgeKt)
withColor var colorRes (BadgeKt)
withColorPressed var colorPressed (BadgeKt)
withColorPressedRes var colorPressedRes (BadgeKt)
withCorners var cornersPx (BadgeKt)
withCorners var cornersRes (BadgeKt)
withCornersDp var cornersDp (BadgeKt)
withGradientDrawable var gradientDrawableRes (BadgeKt)
withMinWidth var minWidthDp (BadgeKt)
withMinWidth var minWidthPx (BadgeKt)
withMinWidth var minWidthRes (BadgeKt)
withPadding var paddingDp (BadgeKt)
withPadding var paddingPx (BadgeKt)
withPadding var paddingRes (BadgeKt)
withPaddingLeftRightDp var paddingHorizontalDp (BadgeKt)
withPaddingLeftRightDp var paddingLeftRightDp (BadgeKt)
withPaddingLeftRightPx var paddingHorizontalPx (BadgeKt)
withPaddingLeftRightPx var paddingLeftRightPx (BadgeKt)
withPaddingLeftRightRes var paddingHorizontalRes (BadgeKt)
withPaddingTopBottomDp var paddingTopBottomDp (BadgeKt)
withPaddingTopBottomDp var paddingVerticalDp (BadgeKt)
withPaddingTopBottomPx var paddingTopBottomPx (BadgeKt)
withPaddingTopBottomPx var paddingVerticalPx (BadgeKt)
withPaddingTopBottomRes var paddingVerticalRes (BadgeKt)
withTextColor var textColor (BadgeKt)
withTextColorRes var textColorRes (BadgeKt)

Badgeable

Original method Wrapper
withBadge var badgeHolder (BadgeableKt)
withBadge var badgeRes (BadgeableKt)
withBadge var text (BadgeKt)
withBadge var textRes (BadgeKt)

BaseDescribeableDrawerItem

Original method Wrapper
withDescription var description (BaseDescribeableDrawerItemKt)
withDescription var descriptionRes (BaseDescribeableDrawerItemKt)
withDescriptionTextColor var descriptionTextColor (BaseDescribeableDrawerItemKt)
withDescriptionTextColorRes var descriptionTextColorRes (BaseDescribeableDrawerItemKt)

BaseDrawerItem

Original method Wrapper
withDisabledIconColor var disabledIconColor (BaseDrawerItemKt)
withDisabledIconColorRes var disabledIconColorRes (BaseDrawerItemKt)
withDisabledTextColor var disabledTextColor (BaseDrawerItemKt)
withDisabledTextColorRes var disabledTextColorRes (BaseDrawerItemKt)
withIcon var icon (BaseDrawerItemKt)
withIcon var iconDrawable (BaseDrawerItemKt)
withIcon var iconRes (BaseDrawerItemKt)
withIcon var iicon (BaseDrawerItemKt)
withIconColor var iconColor (BaseDrawerItemKt)
withIconColorRes var iconColorRes (BaseDrawerItemKt)
withIconTintingEnabled
isIconTinted
var iconTintingEnabled (BaseDrawerItemKt)
withLevel
getLevel
var level (BaseDrawerItemKt)
withName var name (BaseDrawerItemKt)
withName var nameRes (BaseDrawerItemKt)
withSelectedColor var selectedColor (BaseDrawerItemKt)
withSelectedColorRes var selectedColorRes (BaseDrawerItemKt)
withSelectedIcon var selectedIcon (BaseDrawerItemKt)
withSelectedIcon var selectedIconDrawable (BaseDrawerItemKt)
withSelectedIcon var selectedIconRes (BaseDrawerItemKt)
withSelectedIconColor var selectedIconColor (BaseDrawerItemKt)
withSelectedIconColorRes var selectedIconColorRes (BaseDrawerItemKt)
withSelectedTextColor var selectedTextColor (BaseDrawerItemKt)
withSelectedTextColorRes var selectedTextColorRes (BaseDrawerItemKt)
withTextColor var textColor (BaseDrawerItemKt)
withTextColorRes var textColorRes (BaseDrawerItemKt)
withTypeface var typeface (BaseDrawerItemKt)

ColorfulBadgeable

Original method Wrapper
withBadgeStyle var badgeStyle (BadgeableKt)

DrawerBuilder

Original method Wrapper
append var primaryDrawer (DrawerBuilderKt)
buildView var buildViewOnly (DrawerBuilderKt)
inflateMenu var menuItemsRes (DrawerBuilderKt)
withActionBarDrawerToggle var actionBarDrawerToggle (DrawerBuilderKt)
withActionBarDrawerToggle var actionBarDrawerToggleEnabled (DrawerBuilderKt)
withActionBarDrawerToggleAnimated var actionBarDrawerToggleAnimated (DrawerBuilderKt)
withAdapter var adapter (DrawerBuilderKt)
withAdapterWrapper var adapterWrapper (DrawerBuilderKt)
withCloseOnClick var closeOnClick (DrawerBuilderKt)
withCustomView var customView (DrawerBuilderKt)
withCustomView var customViewRes (DrawerBuilderKt)
withDelayDrawerClickEvent var delayDrawerClickEvent (DrawerBuilderKt)
withDelayOnDrawerClose var delayOnDrawerClose (DrawerBuilderKt)
withDisplayBelowStatusBar var displayBelowStatusBar (DrawerBuilderKt)
withDrawerGravity var drawerGravity (DrawerBuilderKt)
withDrawerGravity var gravity (DrawerBuilderKt)
withDrawerLayout var drawerLayout (DrawerBuilderKt)
withDrawerLayout var drawerLayoutRes (DrawerBuilderKt)
withDrawerWidthDp var drawerWidthDp (DrawerBuilderKt)
withDrawerWidthDp var widthDp (DrawerBuilderKt)
withDrawerWidthPx var drawerWidthPx (DrawerBuilderKt)
withDrawerWidthPx var widthPx (DrawerBuilderKt)
withDrawerWidthRes var drawerWidthRes (DrawerBuilderKt)
withDrawerWidthRes var widthRes (DrawerBuilderKt)
withFireOnInitialOnClick var fireOnInitialOnClick (DrawerBuilderKt)
withFooter var footerView (DrawerBuilderKt)
withFooter var footerViewRes (DrawerBuilderKt)
withFooterClickable var footerClickable (DrawerBuilderKt)
withFooterDivider var footerDivider (DrawerBuilderKt)
withFullscreen var fullscreen (DrawerBuilderKt)
withGenerateMiniDrawer var generateMiniDrawer (DrawerBuilderKt)
withHasStableIds var hasStableIds (DrawerBuilderKt)
withHeader var headerView (DrawerBuilderKt)
withHeader var headerViewRes (DrawerBuilderKt)
withHeaderDivider var headerDivider (DrawerBuilderKt)
withHeaderHeight var headerHeight (DrawerBuilderKt)
withHeaderHeight var headerHeightDp (DrawerBuilderKt)
withHeaderHeight var headerHeightPx (DrawerBuilderKt)
withHeaderHeight var headerHeightRes (DrawerBuilderKt)
withHeaderPadding var headerPadding (DrawerBuilderKt)
withInnerShadow var innerShadow (DrawerBuilderKt)
withItemAnimator var itemAnimator (DrawerBuilderKt)
withKeepStickyItemsVisible var keepStickyItemsVisible (DrawerBuilderKt)
withMultiSelect var multiSelect (DrawerBuilderKt)
withOnDrawerItemClickListener fun onItemClick (DrawerBuilderKt)
withOnDrawerItemClickListener fun onItemClick (DrawerBuilderKt)
withOnDrawerItemLongClickListener fun onItemLongClick (DrawerBuilderKt)
withOnDrawerItemLongClickListener fun onItemLongClick (DrawerBuilderKt)
withOnDrawerListener fun onClosed (DrawerBuilderKt)
withOnDrawerListener fun onOpened (DrawerBuilderKt)
withOnDrawerListener fun onSlide (DrawerBuilderKt)
withOnDrawerNavigationListener fun onNavigation (DrawerBuilderKt)
withPositionBasedStateManagement var positionBasedStateManagement (DrawerBuilderKt)
withRecyclerView var recyclerView (DrawerBuilderKt)
withRootView var rootView (DrawerBuilderKt)
withRootView var rootViewRes (DrawerBuilderKt)
withSavedInstance var savedInstance (DrawerBuilderKt)
withScrollToTopAfterClick var scrollToTopAfterClick (DrawerBuilderKt)
withSelectedItem var selectedItem (DrawerBuilderKt)
withSelectedItemByPosition var selectedItemByPosition (DrawerBuilderKt)
withShowDrawerOnFirstLaunch var showDrawerOnFirstLaunch (DrawerBuilderKt)
withShowDrawerOnFirstLaunch var showOnFirstLaunch (DrawerBuilderKt)
withShowDrawerUntilDraggedOpened var showDrawerUntilDraggedOpened (DrawerBuilderKt)
withShowDrawerUntilDraggedOpened var showUntilDraggedOpened (DrawerBuilderKt)
withSliderBackgroundColor var sliderBackgroundColor (DrawerBuilderKt)
withSliderBackgroundColorRes var sliderBackgroundColorRes (DrawerBuilderKt)
withSliderBackgroundDrawable var sliderBackgroundDrawable (DrawerBuilderKt)
withSliderBackgroundDrawableRes var sliderBackground (DrawerBuilderKt)
withSliderBackgroundDrawableRes var sliderBackgroundRes (DrawerBuilderKt)
withStickyFooter var stickyFooter (DrawerBuilderKt)
withStickyFooter var stickyFooterRes (DrawerBuilderKt)
withStickyFooterDivider var stickyFooterDivider (DrawerBuilderKt)
withStickyFooterShadow var stickyFooterShadow (DrawerBuilderKt)
withStickyHeader var stickyHeader (DrawerBuilderKt)
withStickyHeader var stickyHeaderRes (DrawerBuilderKt)
withStickyHeaderShadow var stickyHeaderShadow (DrawerBuilderKt)
withSystemUIHidden var systemUIHidden (DrawerBuilderKt)
withToolbar var toolbar (DrawerBuilderKt)
withTranslucentNavigationBar var supportTranslucentNavBar (DrawerBuilderKt)
withTranslucentNavigationBar var translucentNavigationBar (DrawerBuilderKt)
withTranslucentNavigationBarProgrammatically var translucentNavBar (DrawerBuilderKt)
withTranslucentNavigationBarProgrammatically var translucentNavigationBarProgrammatically (DrawerBuilderKt)
withTranslucentStatusBar var translucentStatusBar (DrawerBuilderKt)

DrawerImageLoader

Original method Wrapper
init fun drawerImageLoader (DrawerImageLoaderKt)

ExpandableDrawerItem

Original method Wrapper
withArrowColor var arrowColor (ExpandableDrawerItemKt)
withArrowColorRes var arrowColorRes (ExpandableDrawerItemKt)
withArrowRotationAngleEnd var arrowRotationAngleEnd (ExpandableDrawerItemKt)
withArrowRotationAngleStart var arrowRotationAngleStart (ExpandableDrawerItemKt)
withArrowRotationAngleStart
withArrowRotationAngleEnd
var arrowRotationAngle (ExpandableDrawerItemKt)

IDrawerImageLoader

Original method Wrapper
cancel fun cancel (DrawerImageLoaderKt)
placeholder fun placeholder (DrawerImageLoaderKt)
set fun set (DrawerImageLoaderKt)

ProfileDrawerItem

Original method Wrapper
withDisabledTextColor var disabledTextColor (ProfileDrawerItemKt)
withDisabledTextColorRes var disabledTextColorRes (ProfileDrawerItemKt)
withEmail var email (ProfileDrawerItemKt)
withEmail var emailRes (ProfileDrawerItemKt)
withIcon var icon (ProfileDrawerItemKt)
withIcon var iconBitmap (ProfileDrawerItemKt)
withIcon var iconDrawable (ProfileDrawerItemKt)
withIcon var iconRes (ProfileDrawerItemKt)
withIcon var iconUri (ProfileDrawerItemKt)
withIcon var iconUrl (ProfileDrawerItemKt)
withIcon var iicon (ProfileDrawerItemKt)
withName var name (ProfileDrawerItemKt)
withName var nameRes (ProfileDrawerItemKt)
withNameShown
isNameShown
var nameShown (ProfileDrawerItemKt)
withSelectedColor var selectedColor (ProfileDrawerItemKt)
withSelectedColorRes var selectedColorRes (ProfileDrawerItemKt)
withSelectedTextColor var selectedTextColor (ProfileDrawerItemKt)
withSelectedTextColorRes var selectedTextColorRes (ProfileDrawerItemKt)
withTextColor var textColor (ProfileDrawerItemKt)
withTextColorRes var textColorRes (ProfileDrawerItemKt)
withTypeface var typeface (ProfileDrawerItemKt)

ProfileSettingDrawerItem

Original method Wrapper
withDescription var description (ProfileSettingDrawerItemKt)
withDescription var descriptionRes (ProfileSettingDrawerItemKt)
withDescriptionTextColor var descriptionTextColor (ProfileSettingDrawerItemKt)
withDescriptionTextColor var descriptionTextColorRes (ProfileSettingDrawerItemKt)
withEmail var email (ProfileSettingDrawerItemKt)
withIcon var icon (ProfileSettingDrawerItemKt)
withIcon var iconBitmap (ProfileSettingDrawerItemKt)
withIcon var iconDrawable (ProfileSettingDrawerItemKt)
withIcon var iconRes (ProfileSettingDrawerItemKt)
withIcon var iconUri (ProfileSettingDrawerItemKt)
withIcon var iconUrl (ProfileSettingDrawerItemKt)
withIcon var iicon (ProfileSettingDrawerItemKt)
withIconColor var iconColor (ProfileSettingDrawerItemKt)
withIconColor var iconColorRes (ProfileSettingDrawerItemKt)
withIconTinted
isIconTinted
var iconTinted (ProfileSettingDrawerItemKt)
withName var name (ProfileSettingDrawerItemKt)
withName var nameRes (ProfileSettingDrawerItemKt)
withSelectedColor var selectedColor (ProfileSettingDrawerItemKt)
withSelectedColorRes var selectedColorRes (ProfileSettingDrawerItemKt)
withTextColor var textColor (ProfileSettingDrawerItemKt)
withTextColorRes var textColorRes (ProfileSettingDrawerItemKt)
withTypeface var typeface (ProfileSettingDrawerItemKt)

SectionDrawerItem

Original method Wrapper
withDivider
hasDivider
var divider (SectionDrawerItemKt)
withName var name (SectionDrawerItemKt)
withName var nameRes (SectionDrawerItemKt)
withTextColor var textColor (SectionDrawerItemKt)
withTextColorRes var textColorRes (SectionDrawerItemKt)
withTypeface var typeface (SectionDrawerItemKt)