volley

A collection of 1 post

Jul 3, 2020

Android 使用 Volley 下載文件附進度條

Android 使用 Volley 下載文件附進度條

Volley官方文檔說: "Volley is not suitable for large download or streaming operations, since Volley holds all responses in memory during parsing. For large download operations, consider using an alternative like DownloadManager."這是真的,特別是內存小的手機,使用Volley下載很多文件或者單個大文件就不是很恰當了。