|
@ -195,20 +195,24 @@ public class ExchangeMethodV2Activity extends BaseActivity implements PaymentMod |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public void onPaymentModeSelected(PaymentMode selectedData) { |
|
|
|
|
|
this.selectedPaymentMode = selectedData; |
|
|
|
|
|
//Check if onPaymentModeSelected not called first time |
|
|
|
|
|
if (sendMoneyEditText.getText().length() > 0) { |
|
|
|
|
|
registerAvailableTextWatchersForEditText(recieveMoneyEditText, false); |
|
|
|
|
|
recieveMoneyEditText.setText(""); |
|
|
|
|
|
registerAvailableTextWatchersForEditText(recieveMoneyEditText, true); |
|
|
|
|
|
shouldCaulatedByRecipient = false; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
//TODO Implementation for calculating exchange rate on the basis of provided default receiving amount for native country only // |
|
|
|
|
|
// @Override |
|
|
|
|
|
// public void onPaymentModeSelected(PaymentMode selectedData) { |
|
|
|
|
|
// this.selectedPaymentMode = selectedData; |
|
|
|
|
|
// //Check if onPaymentModeSelected not called first time |
|
|
|
|
|
// if (sendMoneyEditText.getText().length() > 0) { |
|
|
|
|
|
// registerAvailableTextWatchersForEditText(recieveMoneyEditText, false); |
|
|
|
|
|
// recieveMoneyEditText.setText(""); |
|
|
|
|
|
// registerAvailableTextWatchersForEditText(recieveMoneyEditText, true); |
|
|
|
|
|
// shouldCaulatedByRecipient = false; |
|
|
|
|
|
// } |
|
|
|
|
|
// |
|
|
|
|
|
// prepareToGetForex(); |
|
|
|
|
|
// |
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prepareToGetForex(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//TODO Implementation for calculating exchange rate on the basis of provided default receiving amount for native country only // |
|
|
//TODO Implementation for calculating exchange rate on the basis of provided default receiving amount for native country only // |
|
|
// @Override |
|
|
// @Override |
|
@ -226,6 +230,15 @@ public class ExchangeMethodV2Activity extends BaseActivity implements PaymentMod |
|
|
// } |
|
|
// } |
|
|
// } |
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// TODO Implementation for calculating exchange rate on the basis of provided default receiving amount for corresponding currency. |
|
|
|
|
|
@Override |
|
|
|
|
|
public void onPaymentModeSelected(PaymentMode selectedData) { |
|
|
|
|
|
this.selectedPaymentMode = selectedData; |
|
|
|
|
|
prepareToGetForex(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
//TODO Implementation for calculating exchange rate on the basis of provided default receiving amount for corresponding currency. |
|
|
//TODO Implementation for calculating exchange rate on the basis of provided default receiving amount for corresponding currency. |
|
|
@Override |
|
|
@Override |
|
|
public void onCountrySelected(CountryPaymentService countryPaymentService) { |
|
|
public void onCountrySelected(CountryPaymentService countryPaymentService) { |
|
|