- 1
Please. Explain about this code
Intent intent = new Intent(this,MainActivity.class); startActivity(intent);
1 Réponse
+ 1
That is used to move from current activity to the MainActivity.
think of activities as pages, to go from one to another, you use Intent.