public class UpdateTransferMethodFragment extends Fragment implements WidgetEventListener, UpdateTransferMethodContract.View
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
UpdateTransferMethodFragment()
Please do not use this to have instance of UpdateTransferMethodFragment this is reserved for android framework
|
Modifier and Type | Method and Description |
---|---|
void |
hideProgressBar() |
void |
hideUpdateButtonProgressBar() |
boolean |
isActive()
Check the state of a View
|
boolean |
isWidgetSelectionFragmentDialogOpen() |
static UpdateTransferMethodFragment |
newInstance(java.lang.String transferMethodToken)
Creates new instance of UpdateTransferMethodFragment this is the proper initialization of this class
since the default constructor is reserved for android framework when lifecycle is triggered.
|
void |
notifyTransferMethodUpdated(TransferMethod transferMethod) |
void |
onActivityCreated(android.os.Bundle savedInstanceState) |
void |
onAttach(android.content.Context context) |
void |
onCreate(android.os.Bundle savedInstanceState) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onResume() |
void |
onSaveInstanceState(android.os.Bundle outState) |
void |
onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState) |
void |
onViewStateRestored(android.os.Bundle savedInstanceState) |
void |
openWidgetDateDialog(java.lang.String date,
java.lang.String fieldName) |
void |
openWidgetSelectionFragmentDialog(java.util.TreeMap<java.lang.String,java.lang.String> nameValueMap,
java.lang.String selectedName,
java.lang.String fieldLabel,
java.lang.String fieldName) |
void |
reloadTransferMethodConfigurationFields() |
void |
retryUpdateTransferMethod() |
void |
saveTextChanged(java.lang.String fieldName,
java.lang.String value) |
void |
showErrorLoadTransferMethodConfigurationFields(java.util.List<java.lang.Error> errors) |
void |
showErrorUpdateTransferMethod(java.util.List<java.lang.Error> errors) |
void |
showInputErrors(java.util.List<java.lang.Error> errors) |
void |
showProgressBar() |
void |
showTransactionInformation(java.util.List<Fee> fees,
ProcessingTime processingTime) |
void |
showTransferMethodFields(HyperwalletTransferMethodConfigurationField hyperwalletTransferMethodConfigurationField) |
void |
showUpdateButtonProgressBar() |
void |
valueChanged(AbstractWidget widget) |
void |
widgetFocused(java.lang.String fieldName) |
public static final java.lang.String TAG
public UpdateTransferMethodFragment()
public static UpdateTransferMethodFragment newInstance(java.lang.String transferMethodToken)
newInstance(String)
is mandatory
and should be supplied with correct data or this fragment will not initialize properly.transferMethodToken
- the country selected when creating transfer methodpublic void onAttach(android.content.Context context)
public void onCreate(android.os.Bundle savedInstanceState)
public android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
public void onViewCreated(android.view.View view, android.os.Bundle savedInstanceState)
public void onActivityCreated(android.os.Bundle savedInstanceState)
public void onViewStateRestored(android.os.Bundle savedInstanceState)
public void onResume()
public void showErrorUpdateTransferMethod(java.util.List<java.lang.Error> errors)
showErrorUpdateTransferMethod
in interface UpdateTransferMethodContract.View
public void onSaveInstanceState(android.os.Bundle outState)
public void notifyTransferMethodUpdated(TransferMethod transferMethod)
notifyTransferMethodUpdated
in interface UpdateTransferMethodContract.View
public void showErrorLoadTransferMethodConfigurationFields(java.util.List<java.lang.Error> errors)
showErrorLoadTransferMethodConfigurationFields
in interface UpdateTransferMethodContract.View
public void showTransactionInformation(java.util.List<Fee> fees, ProcessingTime processingTime)
showTransactionInformation
in interface UpdateTransferMethodContract.View
public void showTransferMethodFields(HyperwalletTransferMethodConfigurationField hyperwalletTransferMethodConfigurationField)
showTransferMethodFields
in interface UpdateTransferMethodContract.View
public void showUpdateButtonProgressBar()
showUpdateButtonProgressBar
in interface UpdateTransferMethodContract.View
public void hideUpdateButtonProgressBar()
hideUpdateButtonProgressBar
in interface UpdateTransferMethodContract.View
public void showProgressBar()
showProgressBar
in interface UpdateTransferMethodContract.View
public void hideProgressBar()
hideProgressBar
in interface UpdateTransferMethodContract.View
public void showInputErrors(java.util.List<java.lang.Error> errors)
showInputErrors
in interface UpdateTransferMethodContract.View
public boolean isActive()
UpdateTransferMethodContract.View
isActive
in interface UpdateTransferMethodContract.View
public void retryUpdateTransferMethod()
retryUpdateTransferMethod
in interface UpdateTransferMethodContract.View
public void reloadTransferMethodConfigurationFields()
reloadTransferMethodConfigurationFields
in interface UpdateTransferMethodContract.View
public void valueChanged(AbstractWidget widget)
valueChanged
in interface WidgetEventListener
public boolean isWidgetSelectionFragmentDialogOpen()
isWidgetSelectionFragmentDialogOpen
in interface WidgetEventListener
public void openWidgetSelectionFragmentDialog(java.util.TreeMap<java.lang.String,java.lang.String> nameValueMap, java.lang.String selectedName, java.lang.String fieldLabel, java.lang.String fieldName)
openWidgetSelectionFragmentDialog
in interface WidgetEventListener
public void widgetFocused(java.lang.String fieldName)
widgetFocused
in interface WidgetEventListener
public void saveTextChanged(java.lang.String fieldName, java.lang.String value)
saveTextChanged
in interface WidgetEventListener
public void openWidgetDateDialog(java.lang.String date, java.lang.String fieldName)
openWidgetDateDialog
in interface WidgetEventListener