-
- All Implemented Interfaces:
-
net.gini.android.capture.view.InjectedViewAdapter
public interface SkontoNavigationBarBottomAdapter implements InjectedViewAdapter
-
-
Method Summary
Modifier and Type Method Description abstract UnitsetOnProceedClickListener(Function0<Unit> onClick)Set the click listener for the proceed button. abstract UnitsetOnBackClickListener(Function0<Unit> onClick)Set the click listener for the back button. abstract UnitsetOnHelpClickListener(Function0<Unit> onClick)Set the click listener for the help button. abstract UnitonTotalAmountUpdated(String amount)Called when the total amount with currency code updated abstract UnitonSkontoPercentageBadgeUpdated(String text)Called when Skonto percentage badge text updated. abstract UnitonSkontoPercentageBadgeVisibilityUpdate(Boolean isVisible)Called when visibility of Skonto badge should be changed. abstract UnitonSkontoSavingsAmountUpdated(String text)Called when Skonto savings amount text updated. abstract UnitonSkontoSavingsAmountVisibilityUpdated(Boolean isVisible)Called when Skonto savings amount visibility updated. -
-
Method Detail
-
setOnProceedClickListener
abstract Unit setOnProceedClickListener(Function0<Unit> onClick)
Set the click listener for the proceed button.
-
setOnBackClickListener
abstract Unit setOnBackClickListener(Function0<Unit> onClick)
Set the click listener for the back button.
- Parameters:
onClick- the click function for the back button
-
setOnHelpClickListener
abstract Unit setOnHelpClickListener(Function0<Unit> onClick)
Set the click listener for the help button.
- Parameters:
onClick- the click function for the help button
-
onTotalAmountUpdated
abstract Unit onTotalAmountUpdated(String amount)
Called when the total amount with currency code updated
- Parameters:
amount- price string with currency symbol.
-
onSkontoPercentageBadgeUpdated
abstract Unit onSkontoPercentageBadgeUpdated(String text)
Called when Skonto percentage badge text updated.
- Parameters:
text- formatted text.
-
onSkontoPercentageBadgeVisibilityUpdate
abstract Unit onSkontoPercentageBadgeVisibilityUpdate(Boolean isVisible)
Called when visibility of Skonto badge should be changed.
- Parameters:
isVisible- visibility flag
-
onSkontoSavingsAmountUpdated
abstract Unit onSkontoSavingsAmountUpdated(String text)
Called when Skonto savings amount text updated.
- Parameters:
text- formatted text.
-
onSkontoSavingsAmountVisibilityUpdated
abstract Unit onSkontoSavingsAmountVisibilityUpdated(Boolean isVisible)
Called when Skonto savings amount visibility updated.
- Parameters:
isVisible- visibility flag
-
-
-
-