2

Is there any event triggered on an activity when I call

startActivity("activity_id", myIntent);

If the Activity exists already.

I pass a parameter to the activity via

i.putExtra("someID", someSerializableObject );  

and would like to call a method to refresh a WebView.

Right now, the call on startActivity brings the activity in the foreground but the webview does not display what i want.

yann.debonnel
  • 767
  • 9
  • 21

1 Answers1

1

Depending on the flags in your Intent and the settings in your manifest, your activity will be called with either onCreate() or onNewIntent().

CommonsWare
  • 954,112
  • 185
  • 2,315
  • 2,367