diff --git a/app/src/main/java/com/example/cosmosclient/views/MemberListActivity.java b/app/src/main/java/com/example/cosmosclient/views/MemberListActivity.java index 2f968f3..d757753 100644 --- a/app/src/main/java/com/example/cosmosclient/views/MemberListActivity.java +++ b/app/src/main/java/com/example/cosmosclient/views/MemberListActivity.java @@ -57,8 +57,8 @@ //app/CosmosにGETメソッドに必要なデータを取得 Cosmos app = (Cosmos) getApplication(); - String token = app.getToken(); - String gId = app.getCurentGroup().getgId(); + final String token = app.getToken(); + final String gId = app.getCurentGroup().getgId(); // ListViewのインスタンスを生成 final ListView listView = findViewById(R.id.list_view); @@ -72,7 +72,7 @@ final GroupsRest MemberListService = retrofit.create(GroupsRest.class); //API呼び出しのための値入力 - Call call = MemberListService.getMemberListByGid(gId,token); + final Call call = MemberListService.getMemberListByGid(gId,token); //サーバからデータ受け取り call.enqueue(new Callback() {