I would like to add more info here. I have a view pager. Each page contains a fragment with ScrollView and there are multiple WebViews inside ScrollView. Whether view pager is causing this problem?
On Sunday, February 5, 2017 at 5:21:28 PM UTC+5:30, vivek daramwal wrote: > > My layout contains a ScrollView with multiple WebViews loading > dynamically. The problem I am facing is sometimes few WebViews don't show > content even after onPageFinished is called. I have to touch on each > WebView to show the content. Its happening randomly on Nexus 5x. To > workaround this issue (as suggested in another article), I am doing this > from onPageFinished. > > webView.scrollTo(0, 1); > webView.scrollTo(0, 0); > > But this also does not help. > > I even tried calling postInvalidateDelayed(1500) on WebView from > onPageFinished, but still it happens. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/11241089-97d2-4b41-8cf7-9544ff60fe8b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

