Builder

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Constructs and validates a SeslGoToTopConfig instance.
Link copied to clipboard
@NonNull
open fun setBackgroundBlur(@Nullable backgroundBlur: @Nullable Drawable): @NonNull SeslGoToTopConfig.Builder
Sets blur background drawable.
Link copied to clipboard
@NonNull
open fun setBackgroundColorBlur(@ColorInt backgroundColorBlur: Int): @NonNull SeslGoToTopConfig.Builder
Sets blur background color.
Link copied to clipboard
@NonNull
open fun setBackgroundDark(@Nullable backgroundDark: @Nullable Drawable): @NonNull SeslGoToTopConfig.Builder
Sets dark mode background drawable.
Link copied to clipboard
@NonNull
open fun setBackgroundLight(@Nullable backgroundLight: @Nullable Drawable): @NonNull SeslGoToTopConfig.Builder
Sets light mode background drawable.
Link copied to clipboard
@NonNull
open fun setElevation(elevation: Float): @NonNull SeslGoToTopConfig.Builder
Sets button elevation in pixels.
Link copied to clipboard
@NonNull
open fun setFadeInInterpolator(@Nullable fadeInInterpolator: @Nullable Interpolator): @NonNull SeslGoToTopConfig.Builder
Sets fade-in animator interpolator.
Link copied to clipboard
@NonNull
open fun setFadeOutInterpolator(@Nullable fadeOutInterpolator: @Nullable Interpolator): @NonNull SeslGoToTopConfig.Builder
Sets fade-out animator interpolator.
Link copied to clipboard
@NonNull
open fun setIconDark(@Nullable iconDark: @Nullable Drawable): @NonNull SeslGoToTopConfig.Builder
Sets dark mode icon drawable.
Link copied to clipboard
@NonNull
open fun setIconLight(@Nullable iconLight: @Nullable Drawable): @NonNull SeslGoToTopConfig.Builder
Sets light mode icon drawable.
Link copied to clipboard
@NonNull
open fun setOverlayFeatureHiddenHeightPx(overlayFeatureHiddenHeightPx: Int): @NonNull SeslGoToTopConfig.Builder
Sets overlay feature hidden height threshold in pixels.
Link copied to clipboard
@NonNull
open fun setPaddingBottom(paddingBottom: Int): @NonNull SeslGoToTopConfig.Builder
Sets bottom padding in pixels.
Link copied to clipboard
@NonNull
open fun setPaddingLeft(paddingLeft: Int): @NonNull SeslGoToTopConfig.Builder
Sets left padding in pixels.
Link copied to clipboard
@NonNull
open fun setPaddingRight(paddingRight: Int): @NonNull SeslGoToTopConfig.Builder
Sets right padding in pixels.
Link copied to clipboard
@NonNull
open fun setScrollToTopDurationMs(scrollToTopDurationMs: Int): @NonNull SeslGoToTopConfig.Builder
Sets scroll-to-top animation duration in milliseconds.
Link copied to clipboard
@NonNull
open fun setSize(size: Int): @NonNull SeslGoToTopConfig.Builder
Sets button size in pixels.
Link copied to clipboard
@NonNull
open fun setSizeChanged(sizeChanged: Boolean): @NonNull SeslGoToTopConfig.Builder
Sets size changed flag.