1) reset() requires that there is a current profile in Data and that may
not be true because the new transaction activity may be started by a
shortcut referencing a profile that was removed and that may have
been the last profile, i.e. there may be no profiles at that moment
2) reset is later called by the new transaction fragment anyway, when it
has ensured that there is an active profile
private final MutableLiveData<FocusInfo> focusInfo = new MutableLiveData<>();
private boolean observingDataProfile;
public NewTransactionModel() {
- reset();
}
public LiveData<Boolean> getShowCurrency() {
return showCurrency;