| | package org.ntlab.acanthus_client.views.userpage; |
---|
| | |
---|
| | import android.os.Bundle; |
---|
| | import android.widget.Button; |
---|
| | import android.widget.TextView; |
---|
| | |
---|
| | import org.ntlab.acanthus_client.R; |
---|
| | |
---|
| | import androidx.appcompat.app.AppCompatActivity; |
---|
| | import androidx.lifecycle.ViewModelProvider; |
---|
| | |
---|
| | public class UserPageActivity extends AppCompatActivity { |
---|
| | |
---|
| | private UserPageViewModel userPageViewModel; |
---|
| | |
---|
| | @Override |
---|
| | protected void onCreate(Bundle savedInstanceState){ |
---|
| | super.onCreate(savedInstanceState); |
---|
| | setContentView(R.layout.activity_userpage); |
---|
| | |
---|
| | userPageViewModel = new ViewModelProvider(this).get(UserPageViewModel.class); |
---|
| | |
---|
| | TextView userName = findViewById(R.id.userNameText); |
---|
| | TextView profileText = findViewById(R.id.profileText); |
---|
| | |
---|
| | Button returnButton = findViewById(R.id.returnButton); |
---|
| | Button followUserButton = findViewById(R.id.followUserButton); |
---|
| | Button followButton = findViewById(R.id.followButton); |
---|
| | Button followerButton = findViewById(R.id.followerButton); |
---|
| | Button animationListButton = findViewById(R.id.animationListButton); |
---|
| | |
---|
| | } |
---|
| | |
---|
| | } |
---|
| | |
---|
| | |