WebView - can't download file without requesting it twice?

后端 未结 3 1572
感动是毒
感动是毒 2021-01-12 06:08

If I listen with DownloadListener, I get the URL which I need to request after the browser already requested it. The browser already opened a connectio

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-12 06:57

    A simple solution is modify it to just download it without asking the user for confirmation based on content type, but instead just put a cancel button on whatever is used to monitor the download.

提交回复
热议问题