开发者

Activity events on startActivity

开发者 https://www.devze.com 2023-01-18 03:57 出处:网络
Is there any event triggered on an activity when I call startActivity(\"activity_id\", myIntent); If the Activity exists already.

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 a开发者_C百科ctivity in the foreground but the webview does not display what i want.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消