WebViewClient not calling shouldOverrideUrlLoading

后端 未结 10 2347
逝去的感伤
逝去的感伤 2020-12-15 18:44

The problem is rather simple. In the application we want to keep track of the current url being displayed. For that we use shouldOverrideUrlLoading callback fr

10条回答
  •  隐瞒了意图╮
    2020-12-15 19:32

    For me the problem was below line -

    mWebView.getSettings().setSupportMultipleWindows(true);
    

    After removing it shouldOverrideUrlLoading was being called.

提交回复
热议问题