diff --git a/app/src/main/java/com/example/nemophila/viewmodels/FriendViewModel.java b/app/src/main/java/com/example/nemophila/viewmodels/FriendViewModel.java index a7493ca..474849b 100644 --- a/app/src/main/java/com/example/nemophila/viewmodels/FriendViewModel.java +++ b/app/src/main/java/com/example/nemophila/viewmodels/FriendViewModel.java @@ -147,13 +147,13 @@ } // 対象のアカウントのフレンド申請を行うときの情報削除 public void deleteRequesting(String uid,String requesting_id, String token) { - Call call = friendsRest.deleteRequesting(uid,requesting_id,token); + Call call = friendsRest.deleteRequesting(uid, requesting_id, token); call.enqueue(new Callback() { @Override public void onResponse(Call call, Response response) { if (response.isSuccessful()) { removeRequestingLiveData(requesting_id); - System.out.println("Successful"); + System.out.println("Successful Delete"); } else { System.out.println("ResponseError: " + response.code()); } @@ -236,8 +236,8 @@ continue; } preData.add(anj); - friendsLiveData.setValue(preData); } + friendsLiveData.setValue(preData); } private void removeRequestingLiveData(String id) { @@ -247,8 +247,8 @@ continue; } preData.add(anj); - requestingLiveData.setValue(preData); } + requestingLiveData.setValue(preData); } private void removeRequestedLiveData(String id) { @@ -258,7 +258,7 @@ continue; } preData.add(anj); - requestedLiveData.setValue(preData); } + requestedLiveData.setValue(preData); } }