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 a8443ac..3065ed9 100644 --- a/app/src/main/java/com/example/cosmosclient/app/Cosmos.java +++ b/app/src/main/java/com/example/cosmosclient/app/Cosmos.java @@ -2,15 +2,22 @@ import android.app.Application; -public class Cosmos extends Application { - private String token; +import java.util.ArrayList; +import java.util.List; - public void setToken(String token){ +public class Cosmos extends Application { + private List token; + + public Cosmos(){ + this.token = new ArrayList(); + } + + public void setToken(List token){ this.token = token; } - public String getToken(){ - return this.token; + public List getToken(){ + return new ArrayList(token); } }