diff --git a/app/src/main/java/com/example/nemophila/Nemophila.java b/app/src/main/java/com/example/nemophila/Nemophila.java index 79c017d..efbf6eb 100644 --- a/app/src/main/java/com/example/nemophila/Nemophila.java +++ b/app/src/main/java/com/example/nemophila/Nemophila.java @@ -2,6 +2,7 @@ import android.app.Application; import android.content.SharedPreferences; +import android.graphics.Bitmap; import com.example.nemophila.entities.Account; import com.example.nemophila.entities.AccountNameJson; @@ -18,6 +19,7 @@ private String name; private String uid; private String token; + private Bitmap icon; private Collection friends; //ショップのデータ @@ -58,6 +60,9 @@ } return token; } + public Bitmap getIcon() { + return icon; + } public Collection getFriends() { return friends; } @@ -136,6 +141,9 @@ this.token = token; editor.commit(); } + public void setIcon(Bitmap icon) { + this.icon = icon; + } public void setFriends(Collection friends) { this.friends = friends; }