@FocusChange(R.id.amount_due) void onAmountDueChanged(boolean isFocused, View view) { if (!isFocused) { amountPay.setValue(YMProperties.addFee(amountDue.getValue())); } }
@FocusChange(R.id.amount_pay) void onAmountPayChanged(boolean isFocused, View view) { if (!isFocused) { amountDue.setValue(YMProperties.substractFee(amountPay.getValue())); } }