diff --git a/app/src/main/java/org/ntlab/acanthus_client/views/userpage/UserPageActivity.java b/app/src/main/java/org/ntlab/acanthus_client/views/userpage/UserPageActivity.java index e0bba96..8bc5636 100644 --- a/app/src/main/java/org/ntlab/acanthus_client/views/userpage/UserPageActivity.java +++ b/app/src/main/java/org/ntlab/acanthus_client/views/userpage/UserPageActivity.java @@ -35,13 +35,13 @@ userPageViewModel = new ViewModelProvider(this).get(UserPageViewModel.class); acanthus = (Acanthus) getApplication(); - Integer loginUid = 1; -// Integer loginUid = acanthus.getPreferenceUid(); - String loginToken = "abc0"; -// String loginToken = acanthus.getPreferenceToken(); +// Integer loginUid = 1; + Integer loginUid = acanthus.getPreferenceUid(); +// String loginToken = "abc0"; + String loginToken = acanthus.getPreferenceToken(); Intent intent = getIntent(); //FollowListActivity,FollowerListActivityからそれぞれuidをもらう -// Integer uid = intent.getIntExtra("UID", 0); - Integer uid = 2; + Integer uid = intent.getIntExtra("UID", 0); +// Integer uid = 2; String uname = intent.getStringExtra("NAME"); TextView userNameText = findViewById(R.id.userNameText);