-
- All Implemented Interfaces:
-
net.gini.android.capture.review.multipage.view.ReviewNavigationBarBottomAdapter,net.gini.android.capture.view.InjectedViewAdapter
public final class DefaultReviewNavigationBarBottomAdapter implements ReviewNavigationBarBottomAdapter
-
-
Constructor Summary
Constructors Constructor Description DefaultReviewNavigationBarBottomAdapter()
-
Method Summary
Modifier and Type Method Description UnitsetOnContinueButtonClickListener(View.OnClickListener clickListener)Set the click listener for the continue button. UnitsetOnAddPageButtonClickListener(View.OnClickListener clickListener)Set the click listener for the "add page" button. UnitsetAddPageButtonVisibility(Integer visibility)Set "add page" button visibility. UnitsetContinueButtonEnabled(Boolean enabled)Set the enabled state of the continue button. UnithideLoadingIndicator()Called when the loading indicator needs to be hidden. UnitshowLoadingIndicator()Called when the loading indicator needs to be shown. ViewonCreateView(ViewGroup container)Called when the custom view is required. UnitonDestroy()Called when the layout is destroyed. -
-
Method Detail
-
setOnContinueButtonClickListener
Unit setOnContinueButtonClickListener(View.OnClickListener clickListener)
Set the click listener for the continue button.
- Parameters:
clickListener- the click listener for the button
-
setOnAddPageButtonClickListener
Unit setOnAddPageButtonClickListener(View.OnClickListener clickListener)
Set the click listener for the "add page" button.
- Parameters:
clickListener- the click listener for the button
-
setAddPageButtonVisibility
Unit setAddPageButtonVisibility(Integer visibility)
Set "add page" button visibility.
- Parameters:
visibility- one of the view visibility values: View.VISIBLE, View.INVISIBLE, or View.GONE
-
setContinueButtonEnabled
Unit setContinueButtonEnabled(Boolean enabled)
Set the enabled state of the continue button.
-
hideLoadingIndicator
Unit hideLoadingIndicator()
Called when the loading indicator needs to be hidden.
-
showLoadingIndicator
Unit showLoadingIndicator()
Called when the loading indicator needs to be shown.
-
onCreateView
View onCreateView(ViewGroup container)
Called when the custom view is required. It will be injected into the SDK's layout.
- Parameters:
container- the ViewGroup which will contain the returned view
-
-
-
-