murakumo_修正パッチその2 #18

Merged
murakumo merged 3 commits from murakumo_修正パッチその2 into master 2024-06-24 09:50:24 +00:00
Showing only changes of commit f658c3c32e - Show all commits

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);
} }
} }