model.isSubmittable.setValue(false);
}
}
- private class BalanceForCurrency {
+
+ private static class BalanceForCurrency {
private HashMap<String, Float> hashMap = new HashMap<>();
float get(String currencyName) {
Float f = hashMap.get(currencyName);
}
}
- private class ItemsForCurrency {
+ private static class ItemsForCurrency {
private HashMap<String, List<NewTransactionModel.Item>> hashMap = new HashMap<>();
@NonNull
List<NewTransactionModel.Item> getList(@Nullable String currencyName) {