Android Webview shows loader and none of webview methods gets called -


i'm facing strange issue in app. i'm using webview in detail pages. when open detail pages, web view loads web page. sometimes, webview doesn't load , shows loader. on debugging call goes loadur(), after none of webview methods called. , after web pages goes blank loader. i'm not getting callback onrecieveerror() too. i'm not getting causing issue.

i tried these things: `

   vwebview.getsettings().setjavascriptenabled(true)`;          vwebview.getsettings().setdomstorageenabled(true);         vwebview.setbackgroundcolor(color.parsecolor("#ffffff"));   vwebview.setwebviewclient(new webviewclient() {             @override  } if (mcontenturl != null) {             vwebview.clearcache(true);             vwebview.loadurl(mcontenturl);         } 

it's happening randomly. , when switch off , on wifi, starts loading pages normally. i'm not getting creating problem. because other native sections downloading stream , there no connectivity issue. webview, behaving strangly sometimes


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -