多次创建WebView(在每个链接上单击)

| 我在活动中初始化一个WebView对象,加载URL,如果URL正确加载,我将启动另一个活动,将该Web视图设置为其内容视图。 构造WebView的代码:
webView = new MyWebView( getApplicationContext(), Settings.this, AsyncWebConnect.this);
webView.loadUrl(url);
一旦网络视图加载了URL(我通过回调获取了此信息),我将初始化第二个活动,该活动将显示网络视图。
((MyApplication)getApplication()).setWebView(webView);
startActivity(new Intent(getApplicationContext(), WebActivity.class));
然后在WebActivity的onCreate中,检索此Web视图并将其设置为内容:
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    final WebView engine = ((MyApplication)getApplication()).getWebView();
    setContentView(engine);
}
问题是,每次我单击已加载页面中的链接时,都会再次创建该活动。有人早些看到吗?如果在这里做错了,请告诉我们。     
已邀请:
我认为您必须像本例一样拦截页面加载     

要回复问题请先登录注册