This is a 2 part article. Please refer to the following blogs(see below) on issues faced by WebView apps in handling page scrolling scenario (infinite page scroll).
The first part of the article is looking at the infinite scrolling problem from the HTML5 perspective. Second part of the article will cover from WebKit perspective.
Please refer to this article [http://engineering.linkedin.com/linkedin-ipad-5-techniques-smooth-infinite-scrolling-html5] for what changes as an HTML5 app developer you can adopt to achieve smooth, crash free infinite page scrolling.
In short the article recommends:
- http://karthkl.blogspot.com/2013/04/another-article-on-why-not-webview-app.html
- http://karthkl.blogspot.com/2013/04/whats-slowing-down-mobile-facebook.html
The first part of the article is looking at the infinite scrolling problem from the HTML5 perspective. Second part of the article will cover from WebKit perspective.
Please refer to this article [http://engineering.linkedin.com/linkedin-ipad-5-techniques-smooth-infinite-scrolling-html5] for what changes as an HTML5 app developer you can adopt to achieve smooth, crash free infinite page scrolling.
In short the article recommends:
- unloading offscreen images
- hiding offscreen pages
- removing offscreen pages
- avoid scaling for images and CSS box-shadow effects
- minimizing DOM nodes
No comments:
Post a Comment