Interface ProductDetailsView
-
- All Superinterfaces:
LceView,MvpLceView,MvpView
- All Known Implementing Classes:
ProductDetailsActivity
public interface ProductDetailsView extends LceView
LceViewclass ofProductDetailsActivity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisplayAttribute(Attributes attributes, java.lang.String[] options, int defaultSelected)Shows theProductattributesvoidlaunchCustomizeScreen()Launch the intended custom screen for handling product group componentvoidshowComponentAttributes(Component component, java.lang.String optionLabel)Notifies the view to showComponentattrobutesvoidshowComponentDefinition(Component component)Notifies the view to showComponentdefinition detailsvoidshowCustomizeView(boolean show)Show/Hide the view related to customizationvoidshowProductAttribute(boolean show)Show/Hide the views related to product attributevoidshowProductDetails(Product product)Notifies the view to show theProductdetails 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 theProductdetails 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 showComponentdefinition details- Parameters:
component- retrieved fromProduct
-
showComponentAttributes
void showComponentAttributes(Component component, java.lang.String optionLabel)
Notifies the view to showComponentattrobutes- Parameters:
component- retrieved fromProductoptionLabel- label for the option
-
displayAttribute
void displayAttribute(Attributes attributes, java.lang.String[] options, int defaultSelected)
Shows theProductattributes- Parameters:
attributes- retrieved fromProductoptions- 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
-
-