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