android - WebView not loading completely in other than MainActivity -
i'm working on app render pages of facebook i'm facing issues loading webview in other activities mainactivity.. facebook page gets loaded in mainactivity not in others.. either in dialogs won't load. it loads facebook navbar... not page content... have simplest code in activities , dialog load webview:
webview view = (webview) findviewbyid(r.id.webview); view.getsettings.setjavascriptenabled(true); view.setwebviewclient(new webviewclient()); view.loadurl("facebook page url"); this code loads page flawlessly in mainactivity won't load neither in dialogs or in other activities... it's somehow has cached.. , reproduces same problem in on app except mainactivity... clue why happens , how can rid of issue?
Comments
Post a Comment