|
@ -17,6 +17,7 @@ import com.gmeremit.online.gmeremittance_native.base.BaseFragment; |
|
|
import com.gmeremit.online.gmeremittance_native.customwidgets.GMEFormInputField; |
|
|
import com.gmeremit.online.gmeremittance_native.customwidgets.GMEFormInputField; |
|
|
import com.gmeremit.online.gmeremittance_native.customwidgets.TextWatcherAdapter; |
|
|
import com.gmeremit.online.gmeremittance_native.customwidgets.TextWatcherAdapter; |
|
|
import com.gmeremit.online.gmeremittance_native.customwidgets.banklistingdialog.BankIconMapper; |
|
|
import com.gmeremit.online.gmeremittance_native.customwidgets.banklistingdialog.BankIconMapper; |
|
|
|
|
|
import com.gmeremit.online.gmeremittance_native.customwidgets.common.GenericImageWithTextListingDialog; |
|
|
import com.gmeremit.online.gmeremittance_native.customwidgets.common.GenericTextListingDialog; |
|
|
import com.gmeremit.online.gmeremittance_native.customwidgets.common.GenericTextListingDialog; |
|
|
|
|
|
|
|
|
import butterknife.BindView; |
|
|
import butterknife.BindView; |
|
@ -40,7 +41,7 @@ public class InboundAddAccountConfirmFragment extends BaseFragment { |
|
|
@BindView(R.id.startPennyTestButton) |
|
|
@BindView(R.id.startPennyTestButton) |
|
|
Button startPennyTestButton; |
|
|
Button startPennyTestButton; |
|
|
private BankSelectClickListener bankSelectionClickListener; |
|
|
private BankSelectClickListener bankSelectionClickListener; |
|
|
private GenericTextListingDialog<BankInfo> bankListingDialog; |
|
|
|
|
|
|
|
|
private GenericImageWithTextListingDialog<BankInfo> bankListingDialog; |
|
|
private BankAccountNumberTextWatcher bankAccountNoTextWatcher; |
|
|
private BankAccountNumberTextWatcher bankAccountNoTextWatcher; |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
@ -130,7 +131,7 @@ public class InboundAddAccountConfirmFragment extends BaseFragment { |
|
|
public void onClick(View v) { |
|
|
public void onClick(View v) { |
|
|
|
|
|
|
|
|
if (bankListingDialog == null) |
|
|
if (bankListingDialog == null) |
|
|
bankListingDialog = new GenericTextListingDialog<>(); |
|
|
|
|
|
|
|
|
bankListingDialog = new GenericImageWithTextListingDialog<>(); |
|
|
bankListingDialog.setData(((InboundAccountAddActionListener) getActivity()).getPresenter().getKoreanBankList()); |
|
|
bankListingDialog.setData(((InboundAccountAddActionListener) getActivity()).getPresenter().getKoreanBankList()); |
|
|
bankListingDialog.setListener(selectedBank -> |
|
|
bankListingDialog.setListener(selectedBank -> |
|
|
{ |
|
|
{ |
|
|