private MutableLiveData<String> amountHint = new MutableLiveData<>(null);
private NewTransactionModel model;
private MutableLiveData<Boolean> editable = new MutableLiveData<>(true);
- public boolean focusIsOnAmount() {
- return focusIsOnAmount;
- }
private boolean focusIsOnAmount = false;
public Item(NewTransactionModel model) {
this.model = model;
this.account = account;
this.editable.setValue(true);
}
+ public boolean focusIsOnAmount() {
+ return focusIsOnAmount;
+ }
public NewTransactionModel getModel() {
return model;
}