boolean wasSyncingData = syncingData;
syncingData = true;
try {
- // FIXME this needs to reach the model somehow
+ // there is a listener that will propagate the change to the model
b.accountRowAccAmounts.setText(newText);
}
finally {
b.accountRowAccName.setAdapter(new AccountWithAmountsAutocompleteAdapter(b.getRoot()
.getContext(),
mProfile));
+ b.accountRowAccName.setOnItemClickListener((parent, view, position, id) -> {
+ adapter.noteFocusIsOnAmount(position);
+ });
final TextWatcher tw = new TextWatcher() {
@Override