Issue
I am working on an android app which have local HTML pages to show in WebView and an option to share some content on Facebook using ShareDialog.
- When
ShareDialogis shown after aWebViewloading started, It keeps loading and nothing happens. Even if I closeWebViewand showShareDialogit keeps loading. - When
ShareDialogis shown beforeWebViewloading started, It works right.
I have try clearing WebView cache before showing ShareDialog.
Solution
I was calling webView.pauseTimers() from onPause() of my Fragment, which is stopping all WebView process, resulting in above error.
Fixed it by webView.resumeTimer() before showing dialog.
Answered By - Randheer
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.