submissionの完成

This commit is contained in:
nemukemo 2024-06-24 18:48:30 +09:00
parent bafc7df037
commit f658c3c32e

View File

@ -123,11 +123,15 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
} }
// 提出状況のクリック処理 // 提出状況のクリック処理
if(view == submission){ if(view == submission){
Intent toSubmission = new Intent(MainActivity.this,SubmissionActivity.class); ArrayList<SubmissionStudent> submissionStudents = getSubmissionStudents();
Intent toSubmission = new Intent(MainActivity.this, SubmissionActivity.class);
toSubmission.putParcelableArrayListExtra("submissionStudents", submissionStudents);
startActivity(toSubmission); startActivity(toSubmission);
} }
if(view == imageSubmission){ if(view == imageSubmission){
Intent toSubmission = new Intent(MainActivity.this,SubmissionActivity.class); ArrayList<SubmissionStudent> submissionStudents = getSubmissionStudents();
Intent toSubmission = new Intent(MainActivity.this, SubmissionActivity.class);
toSubmission.putParcelableArrayListExtra("submissionStudents", submissionStudents);
startActivity(toSubmission); startActivity(toSubmission);
} }
} }