Rectangle 27 0

Preload Javascript in Android Webview?


I think you should go through a library JAVA / Android to avoid the use of webview and thus improve performance. Here is a topic that addresses the problem of mathematical expressions: MathML and Java

Note
Rectangle 27 0

Preload Javascript in Android Webview?


Dont have a solution for initial delay but subsequent delay to load the page when you scroll list view can be avoided by caching the html-page that is dynamically created by js.

You can associate each result (html result page) with an unique id (generated based on result to be rendered) and cache dynamically created html page in hashmap or lru cache (completely created page can be accessed after onPageFinished call back) against this id. When the list is scrolled up or down, instead of creating page dynamically by js again, you can fetch cached html page (now static page) that was created and just load the static page. This reduces the delay to load page as well as saves battery

Note