Interface ProductDetailsView
-
- All Superinterfaces:
LceView
,MvpLceView
,MvpView
- All Known Implementing Classes:
ProductDetailsActivity
public interface ProductDetailsView extends LceView
LceView
class ofProductDetailsActivity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
displayAttribute(Attributes attributes, java.lang.String[] options, int defaultSelected)
Shows theProduct
attributesvoid
launchCustomizeScreen()
Launch the intended custom screen for handling product group componentvoid
showComponentAttributes(Component component, java.lang.String optionLabel)
Notifies the view to showComponent
attrobutesvoid
showComponentDefinition(Component component)
Notifies the view to showComponent
definition detailsvoid
showCustomizeView(boolean show)
Show/Hide the view related to customizationvoid
showProductAttribute(boolean show)
Show/Hide the views related to product attributevoid
showProductDetails(Product product)
Notifies the view to show theProduct
details including total costs-
Methods inherited from interface com.cheetahdigital.uikit.architecture.lce.LceView
onLoadFailed, onLoadSuccess, setErrorViewClickListener
-
Methods inherited from interface com.cheetahdigital.uikit.architecture.lce.MvpLceView
showContent, showError, showLoading
-
-
-
-
Method Detail
-
showProductDetails
void showProductDetails(Product product)
Notifies the view to show theProduct
details including total costs- Parameters:
product
- retrievedProduct
-
launchCustomizeScreen
void launchCustomizeScreen()
Launch the intended custom screen for handling product group component
-
showComponentDefinition
void showComponentDefinition(Component component)
Notifies the view to showComponent
definition details- Parameters:
component
- retrieved fromProduct
-
showComponentAttributes
void showComponentAttributes(Component component, java.lang.String optionLabel)
Notifies the view to showComponent
attrobutes- Parameters:
component
- retrieved fromProduct
optionLabel
- label for the option
-
displayAttribute
void displayAttribute(Attributes attributes, java.lang.String[] options, int defaultSelected)
Shows theProduct
attributes- Parameters:
attributes
- retrieved fromProduct
options
- list of options to selectdefaultSelected
- index of the default selected item
-
showProductAttribute
void showProductAttribute(boolean show)
Show/Hide the views related to product attribute- Parameters:
show
- true to show, else false
-
showCustomizeView
void showCustomizeView(boolean show)
Show/Hide the view related to customization- Parameters:
show
- true to show, else false
-
-