Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple WebViews in ScrollView giving issues (Android)

I have a scrollview which has multiple webviews, these webviews are loading some pages. The problem is that i cannot explain so you have to see this.

The webviews upon scrolling get distorted as shown in the picture. when load for the first time they are ok.

like image 759
Farhan Avatar asked Dec 20 '11 21:12

Farhan


1 Answers

Yes , I got your problem. It happens because android does the caching of the elements available in the scrollview. You should use caching properly , look out for the methods.Use this link http://developer.android.com/reference/android/widget/ScrollView.html

like image 84
Chetan Avatar answered Nov 07 '22 14:11

Chetan