diff --git a/app/src/main/java/com/example/cosmosclient/views/CreateGroupActivity.java b/app/src/main/java/com/example/cosmosclient/views/CreateGroupActivity.java index 49e3d17..4b01ad5 100644 --- a/app/src/main/java/com/example/cosmosclient/views/CreateGroupActivity.java +++ b/app/src/main/java/com/example/cosmosclient/views/CreateGroupActivity.java @@ -1,5 +1,6 @@ package com.example.cosmosclient.views; +import android.content.Intent; import android.media.Image; import android.os.Handler; import android.support.v7.app.AppCompatActivity; @@ -78,6 +79,8 @@ if (response.isSuccessful()) { //成功時 Group result = response.body(); + Intent intent = new Intent(getApplication(), RequestListActivity.class); + // //確認用 // System.out.println(result.getgId()); @@ -85,6 +88,7 @@ // System.out.println(result.getRequests()); // System.out.println(result.getUri()); + startActivity(intent); Toast.makeText(CreateGroupActivity.this, "グループを作成しました", Toast.LENGTH_SHORT).show(); finish();