diff --git a/app/src/main/java/com/example/nemophila/Nemophila.java b/app/src/main/java/com/example/nemophila/Nemophila.java index 14f1aed..a41a04d 100644 --- a/app/src/main/java/com/example/nemophila/Nemophila.java +++ b/app/src/main/java/com/example/nemophila/Nemophila.java @@ -4,9 +4,11 @@ import android.content.SharedPreferences; import com.example.nemophila.entities.Account; +import com.example.nemophila.entities.AccountNameJson; import com.example.nemophila.entities.Shop; import com.google.type.LatLng; +import java.util.Collection; import java.util.HashMap; import java.util.HashSet; @@ -15,6 +17,7 @@ private String name; private String uid; private String token; + private Collection friends; //ショップのデータ private Shop currentShop; @@ -54,6 +57,9 @@ } return token; } + public Collection getFriends() { + return friends; + } //Shop関連のGetter public Shop getCurrentShop() { @@ -129,6 +135,10 @@ this.token = token; editor.commit(); } + public void setFriends(Collection friends) { + this.friends = friends; + } + public void setCurrentShop(Shop currentShop) { this.currentShop = currentShop; }