0
Onlclicklistener crashes app
When I use the onlicklistener for a button that goes to another activity whenever I click it, it crashes the app. CODE: mgotologin.setOnClickListener((v) -> { startActivity(new Intent(getApplicationContext(),Login.class)); });
1 Antwort
0
Please tell me what went wrong!!