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.Viewpublic void onSaveInstanceState(android.os.Bundle outState)
public void notifyTransferMethodUpdated(TransferMethod transferMethod)
notifyTransferMethodUpdated in interface UpdateTransferMethodContract.Viewpublic void showErrorLoadTransferMethodConfigurationFields(java.util.List<java.lang.Error> errors)
showErrorLoadTransferMethodConfigurationFields in interface UpdateTransferMethodContract.Viewpublic void showTransactionInformation(java.util.List<Fee> fees,
ProcessingTime processingTime)
showTransactionInformation in interface UpdateTransferMethodContract.Viewpublic void showTransferMethodFields(HyperwalletTransferMethodConfigurationField hyperwalletTransferMethodConfigurationField)
showTransferMethodFields in interface UpdateTransferMethodContract.Viewpublic void showUpdateButtonProgressBar()
showUpdateButtonProgressBar in interface UpdateTransferMethodContract.Viewpublic void hideUpdateButtonProgressBar()
hideUpdateButtonProgressBar in interface UpdateTransferMethodContract.Viewpublic void showProgressBar()
showProgressBar in interface UpdateTransferMethodContract.Viewpublic void hideProgressBar()
hideProgressBar in interface UpdateTransferMethodContract.Viewpublic void showInputErrors(java.util.List<java.lang.Error> errors)
showInputErrors in interface UpdateTransferMethodContract.Viewpublic boolean isActive()
UpdateTransferMethodContract.ViewisActive in interface UpdateTransferMethodContract.Viewpublic void retryUpdateTransferMethod()
retryUpdateTransferMethod in interface UpdateTransferMethodContract.Viewpublic void reloadTransferMethodConfigurationFields()
reloadTransferMethodConfigurationFields in interface UpdateTransferMethodContract.Viewpublic void valueChanged(AbstractWidget widget)
valueChanged in interface WidgetEventListenerpublic boolean isWidgetSelectionFragmentDialogOpen()
isWidgetSelectionFragmentDialogOpen in interface WidgetEventListenerpublic 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 WidgetEventListenerpublic void widgetFocused(java.lang.String fieldName)
widgetFocused in interface WidgetEventListenerpublic void saveTextChanged(java.lang.String fieldName,
java.lang.String value)
saveTextChanged in interface WidgetEventListenerpublic void openWidgetDateDialog(java.lang.String date,
java.lang.String fieldName)
openWidgetDateDialog in interface WidgetEventListener