Hi, I have a map and some icons drawn on a webview that I redraw on
each GPS update. Even though only the icon that is representing my GPS
position should be redrawn, it still works without flickering. Now the
problem is that when the page has been scrolled, and I try to restore
its position after a refresh, it does flicker. Here is how I restore
the position:
        @Override public void onPageFinished (WebView view, String url) {
                if (scrollPercent != 0 || hScrollPercent != 0)
                        _view.scrollTo(hScrollPercent, scrollPercent);
                super.onPageFinished(view, url);
        }

Is there a function to call scrollTo() without a flicker. Or to do a
partial refresh?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to