Start Activity from Object
The usual way to start an activity is
Intent intent = new Intent(this, SecondActivity.class);
startActivity(intent);
Is there a way to start an Activity from an Object?.. like
SecondActivity var = new SecondActivity();
var.start();
Something like that..?!
No comments:
Post a Comment