private final MutableLiveData<Integer> focusedItem = new MutableLiveData<>(0);
private final MutableLiveData<Integer> accountCount = new MutableLiveData<>(0);
private final MutableLiveData<Boolean> simulateSave = new MutableLiveData<>(false);
+ final MutableLiveData<Boolean> showCurrency = new MutableLiveData<>(false);
public boolean getSimulateSave() {
return simulateSave.getValue();
}
items.add(itemCount - 1, acc);
}
}
+ public void toggleCurrencyVisible() {
+ showCurrency.setValue(!showCurrency.getValue());
+ }
enum ItemType {generalData, transactionRow, bottomFiller}
//==========================================================================================