+ currencyObserver = currency -> {
+ setCurrency(currency);
+ adapter.model.checkTransactionSubmittable(adapter);
+ };
+
+ showCurrencyObserver = showCurrency -> {
+ if (item.getType() == ItemType.transactionRow) {
+ if (showCurrency) {
+ tvCurrency.setVisibility(View.VISIBLE);
+ }
+ else {
+ tvCurrency.setVisibility(View.GONE);
+ item.setCurrency(null);
+ }
+ }
+ };