I am trying to optimize Android WebView loading times for pages, so first thing I need to do is measure the time to display properly as well as total download time. How can I measure how long it takes for the WebView to display the page?
webWebClient.onPageFinished()
is not the right callback because I am seeing the page display at about 3 seconds, but the onPageFinished is called many seconds later depending on the page ... So what is the callback when the WebView actually displays the content that has been downloaded? As opposed to having downloaded ALL of the content?
UPDATE: To clarify I am trying to determine how many seconds to display the content visually. How long before user can scroll etc. NOT how long to download the page completely.