Question: public class MainActivity extends AppCompatActivity{ ... void startSecondActivity(){ //TO DO: create and start the second activity } } Complete the startSecondActivity method in MainActivity to
public class MainActivity extends AppCompatActivity{
...
void startSecondActivity(){
//TO DO: create and start the second activity
}
}
Complete the startSecondActivity method in MainActivity to navigate the app to SecondActivity. You can copy and paste the method above in answer, and then give you code below the TODO method
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
