diff --git a/app/src/main/java/org/ntlab/acanthus_client/views/animation_detail/AnimationDetailActivity.java b/app/src/main/java/org/ntlab/acanthus_client/views/animation_detail/AnimationDetailActivity.java index ab5132e..b831dc6 100644 --- a/app/src/main/java/org/ntlab/acanthus_client/views/animation_detail/AnimationDetailActivity.java +++ b/app/src/main/java/org/ntlab/acanthus_client/views/animation_detail/AnimationDetailActivity.java @@ -27,25 +27,21 @@ Button returnButton = findViewById(R.id.return_button); returnButton.setOnClickListener(v -> finish()); - //作成者のページに移動(今は仮) + //作成者のページに移動(今は仮でアニメーション画面へ) Button buttonEditor1 = findViewById(R.id.button_editor1); - buttonEditor1.setOnClickListener(new View.OnClickListener(){ - @Override - public void onClick(View v) { + buttonEditor1.setOnClickListener((View v) -> { Intent intent = new Intent(AnimationDetailActivity.this, AnimationActivity.class); startActivity(intent); } - }); + ); //作成者のページに移動(今は仮) Button buttonEditor2 = findViewById(R.id.button_editor2); - buttonEditor2.setOnClickListener(new View.OnClickListener(){ - @Override - public void onClick(View v) { + buttonEditor2.setOnClickListener((View v) -> { Intent intent = new Intent(AnimationDetailActivity.this, AnimationActivity.class); startActivity(intent); } - }); + ); } }