首页 > 其他 > 详细

file-downloader相关问题

时间:2017-05-24 21:00:39      阅读:355      评论:0      收藏:0      [点我收藏+]

2017-05-24

file-downloader框架中,如果你想用FileDownloader中的createAndStart(String url, String saveDir, String fileName)方法的话,切记。不要在之前调用configFileDownloadDir方法为它设置默认下载目录,要不然createAndStart失效。

FileDownloadConfiguration.Builder builder = new FileDownloadConfiguration.Builder(this);
builder.configFileDownloadDir(downloadDir);
FileDownloadConfiguration configuration = builder.build();
FileDownloader.init(configuration);

 

file-downloader相关问题

原文:http://www.cnblogs.com/angelshelter/p/6900750.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!