You can try:

1.     Define a global view in Application context.

2.     When launch 1st activity, create a new view in this activity and use it 
to initialize the view in Application context.

3.     Use the global view in other activities.
Thanks using Crosswalk.

Best Regards :)
Xiaofeng Zhang

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of 刘晓飞
Sent: Friday, January 22, 2016 9:36 PM
To: [email protected]
Subject: [Crosswalk-help] is there some way to reuse Crosswalk view when 
activity recreated

1,From activity A, start Activity B, Activity B create a crosswalk view named " 
CV" show the url : www.google.com<http://www.google.com>.
2,press back button, finish Activity B, we return Activity A。
3,From Activity A, start Activity B,if i set CV static variable, the CV can't 
show the webpage correctly。

Can someone help me?  thanks :)

_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to