Configuration
interface Configuration
Content copied to clipboard
Exposes configuration options available to lenses carousel feature.
Functions
attachViewTo
Link copied to clipboard
abstract fun attachViewTo(layoutPlacement: LensesComponent.Carousel.LayoutPlacement, onViewStub: Consumer<ViewStub>)
Content copied to clipboard
Allows placing of views relative to the carousel based on a given LayoutPlacement.
configureEachItem
Link copied to clipboard
abstract fun configureEachItem(withOptions: @JvmSuppressWildcards() Consumer<LensesComponent.Carousel.ItemOptions>): LensesComponent.Carousel.Configuration
Content copied to clipboard
observeGroupIds
Link copied to clipboard
Properties
activateIdle
Link copied to clipboard
By default, carousel reacts to interactions of processor and displays any applied lens as selected, while this option enables carousel to start in the idle state where no lens is yet applied and selected.
activateOnStart
Link copied to clipboard
By default, carousel reacts to interactions of processor and displays any applied lens as selected, while this option enables carousel to start in an activated state - idle or with a lens selected if disableIdle is true.
activateOnTap
Link copied to clipboard
closeButtonEnabled
Link copied to clipboard
closeButtonMarginBottomDimenRes
Link copied to clipboard
deactivateOnClose
Link copied to clipboard
Enables deactivation of lenses carousel by clicking on close button when closeButtonEnabled is true.
disableIdle
Link copied to clipboard
heightDimenRes
Link copied to clipboard
marginBottomDimenRes
Link copied to clipboard
observedGroupIds
Link copied to clipboard
Uses the provided observedGroupIds to present lenses in carousel.
observedGroupIdsProvider
Link copied to clipboard
paddingBottomDimenRes
Link copied to clipboard
paddingTopDimenRes
Link copied to clipboard
view
Link copied to clipboard
Custom implementation of Carousel.View to be used as a delegate to show and hide lenses carousel.