-
public final class CarouselView extends ContainerView<Carousel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCarouselView.Adapterpublic final classCarouselView.Holderpublic final classCarouselView.DiffCallback
-
Field Summary
Fields Modifier and Type Field Description private final PLYFrameLayoutviewprivate final Contextcontextprivate final Carouselcomponentprivate List<PurchaselyView<out Component>>childrenprivate IntegercomponentMaxWidthprivate IntegercomponentMinWidthprivate IntegercomponentMaxHeightprivate IntegercomponentMinHeightprivate BooleanisSetupprivate ViewGroupparentprivate final Integerversion
-
Constructor Summary
Constructors Constructor Description CarouselView(Context context, Carousel component)
-
Method Summary
-
Methods inherited from class io.purchasely.views.presentation.containers.CarouselView
addChild, getComponentView, onDisplayed, updateLabels, updateState -
Methods inherited from class io.purchasely.views.presentation.containers.ContainerView
applyDimensionsConstraints -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getView
PLYFrameLayout getView()
-
getContext
Context getContext()
-
getComponent
Carousel getComponent()
-
getChildren
final List<PurchaselyView<out Component>> getChildren()
-
setChildren
final Unit setChildren(List<PurchaselyView<out Component>> children)
-
getComponentMaxWidth
final Integer getComponentMaxWidth()
-
setComponentMaxWidth
final Unit setComponentMaxWidth(Integer componentMaxWidth)
-
getComponentMinWidth
final Integer getComponentMinWidth()
-
setComponentMinWidth
final Unit setComponentMinWidth(Integer componentMinWidth)
-
getComponentMaxHeight
final Integer getComponentMaxHeight()
-
setComponentMaxHeight
final Unit setComponentMaxHeight(Integer componentMaxHeight)
-
getComponentMinHeight
final Integer getComponentMinHeight()
-
setComponentMinHeight
final Unit setComponentMinHeight(Integer componentMinHeight)
-
getIsSetup
final Boolean getIsSetup()
-
setIsSetup
final Unit setIsSetup(Boolean isSetup)
-
getVersion
final Integer getVersion()
-
selectedPresentation
final Unit selectedPresentation(String presentationId)
-
selectedPlan
final Unit selectedPlan(String planId)
-
selectedOptions
final Unit selectedOptions(String selectId, List<String> options)
-
-
-
-