diff --git a/app/src/main/java/com/example/nemophila/MainActivity.java b/app/src/main/java/com/example/nemophila/MainActivity.java index 922556b..595597b 100644 --- a/app/src/main/java/com/example/nemophila/MainActivity.java +++ b/app/src/main/java/com/example/nemophila/MainActivity.java @@ -68,16 +68,16 @@ binding = ActivityMainBinding.inflate(getLayoutInflater()); setContentView(binding.getRoot()); - - nemophila = (Nemophila) this.getApplication(); - - ImageButton myPageButton = findViewById(R.id.myPageButton); - // lambda式 - myPageButton.setOnClickListener( v -> { - Log.d("debug", "myPageButton, マイページに画面遷移"); - Intent intent = new Intent(MainActivity.this, MyPageActivity.class); - startActivity(intent); - }); +// +// nemophila = (Nemophila) this.getApplication(); +// +// ImageButton myPageButton = findViewById(R.id.myPageButton); +// // lambda式 +// myPageButton.setOnClickListener( v -> { +// Log.d("debug", "myPageButton, マイページに画面遷移"); +// Intent intent = new Intent(MainActivity.this, MyPageActivity.class); +// startActivity(intent); +// }); if (ActivityCompat.checkSelfPermission(this,