summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorChristian Strømme <[email protected]>2015-01-28 12:02:55 +0100
committerChristian Stromme <[email protected]>2015-02-10 11:37:41 +0000
commite59d6a79fd5cd208fece67f79e544807bd2d72f9 (patch)
treece14dd0fa2ab49d6565c22dba92d6db9b309a1f4 /examples
parent92ad76a7245900a08d913ada21e65229ca5bf5d0 (diff)
Android: Fix isLoading() and progress tracking.
There are no good ways to know if a WebView is loading or not. onPageStarted() is called for each frame, so it might be called multiple times while onPageFinished() is only called for the main frame, that is, resources and other frames might still be loading. To make it worse load status is handled in a different client then the progress, so to make sure we report progress and finished in the right order we need to sync them up and let the last call be responsible for reporting the loading succeeded status. Change-Id: Ibcf858bfa026c5b280c70b338801be9a1475b376 Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions