diff --git a/app/src/main/java/com/example/citrusclient/views/SettingsFragment.java b/app/src/main/java/com/example/citrusclient/views/SettingsFragment.java index 08d1510..12d0925 100644 --- a/app/src/main/java/com/example/citrusclient/views/SettingsFragment.java +++ b/app/src/main/java/com/example/citrusclient/views/SettingsFragment.java @@ -83,8 +83,9 @@ FavoritesViewModel favoritesViewModel; private Integer strAccountColor; //色 - private Integer totalamount = 0; + private int totalamount = 0; + private List bookList = new ArrayList<>(); @@ -214,7 +215,7 @@ //観察部 //ユーザ(主)が持つ本一覧 - List bookList = new ArrayList<>(); + //List bookList = new ArrayList<>(); List point = new ArrayList<>(); booksLiveData.observe(getViewLifecycleOwner(), new Observer>() { @@ -223,13 +224,12 @@ if(integerBookHashMap != null){ bookList.clear(); bookList.addAll(integerBookHashMap.keySet()); - for(int i=0;i