盛洁 5 years ago
parent 0116db84a8
commit 825fde0e9e

@ -38,8 +38,8 @@ public class MainActivity extends AppCompatActivity {
Intent intent = getIntent();
User user;
user = (User) intent.getSerializableExtra("user");
menu_name.setText(user.getName());
menu_role.setText(user.getPasd());
//menu_name.setText(user.getName());
//menu_role.setText(user.getPasd());
Toolbar toolbar = findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
FloatingActionButton fab = findViewById(R.id.fab);

Loading…
Cancel
Save