| |
---|
| | TextView group1 = findViewById(R.id.group1); |
---|
| | group1.setOnClickListener(new View.OnClickListener() { |
---|
| | @Override |
---|
| | public void onClick(View view) { |
---|
| | gridView.stopEditMode(); |
---|
| | Intent intent=new Intent(GroupListActivity.this, com.example.cosmosclient.views.RequestListActivity.class); |
---|
| | startActivity(intent); |
---|
| | } |
---|
| | }); |
---|
| |
---|
| | |
---|
| | // Handle navigation view item clicks here. |
---|
| | int id = item.getItemId(); |
---|
| | if ( id == R.id.createNewGroupButton){ |
---|
| | gridView.stopEditMode(); |
---|
| | Intent intent=new Intent(GroupListActivity.this, com.example.cosmosclient.views.CreateGroupActivity.class); |
---|
| | startActivity(intent); |
---|
| | } else if (id == R.id.joinGroupButton){ |
---|
| | gridView.stopEditMode(); |
---|
| | Intent intent=new Intent(GroupListActivity.this, com.example.cosmosclient.views.JoinGroupActionsActivity.class); |
---|
| | startActivity(intent); |
---|
| | } else if (id == R.id.signOutButton){ |
---|
| | gridView.stopEditMode(); |
---|
| | Intent intent=new Intent(GroupListActivity.this, com.example.cosmosclient.views.SigninActivity.class); |
---|
| | startActivity(intent); |
---|
| | } |
---|
| | /* |
---|
| |
---|
| | |