When I do the methods to switch between screens:
public void nombreMetodo (View v){
Intent uno = new Intent (this, nombreJava.class);
startActivity (uno);
}
Whenever I do the "public void nombreMetodo (View v)"
when writing the View
I give space and it suggests view
in lowercase. Then I have doubts about whether there is a problem in using pure "v"
as usual or it is better to use "view"
.
Android Studio Code
public void reg (View view){
Intent pa = new Intent(this, MainActivity.class);
startActivity(pa);
}