Commit a4de463
committed
Wait for redirects before showing main webview
The onPageFinished callback fires when a page is redirected to another
one. We can detect if a new page load is started before the previous
page is finished, and wait for that new page load to finish.
https://phabricator.endlessm.com/T345761 parent b3c326e commit a4de463
1 file changed
Lines changed: 13 additions & 8 deletions
File tree
- pythonforandroid/bootstraps/webview/build/src/main/java/org/kivy/android
Lines changed: 13 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
224 | 231 | | |
225 | 232 | | |
| 233 | + | |
226 | 234 | | |
227 | 235 | | |
228 | 236 | | |
229 | 237 | | |
230 | 238 | | |
231 | | - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
232 | 244 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | 245 | | |
241 | 246 | | |
242 | 247 | | |
| |||
0 commit comments