diff --git a/app/src/main/java/com/example/cosmosclient/app/Cosmos.java b/app/src/main/java/com/example/cosmosclient/app/Cosmos.java index 367fb6e..632820b 100644 --- a/app/src/main/java/com/example/cosmosclient/app/Cosmos.java +++ b/app/src/main/java/com/example/cosmosclient/app/Cosmos.java @@ -6,9 +6,8 @@ public class Cosmos extends Application { private String token=null; - private String curGroup=null; + private Group curGroup=null; private String uId=null; - private String gId=null; //token処理 public void setToken(String token){ @@ -19,10 +18,10 @@ } //Group処理 - public void setCurrentGroup(String g){ + public void setCurrentGroup(Group g){ curGroup = g; } - public String getCurentGroup(){ + public Group getCurentGroup(){ return curGroup; } @@ -33,12 +32,4 @@ public String getuId(){ return uId; } - - //gId処理 - public void setgId(String gId){ - this.gId = gId; - } - public String getgId(){ - return gId; - } }