版本升为3.6.2

This commit is contained in:
kehaoyuan
2019-02-20 10:32:09 +08:00
parent de60d05190
commit 0e93f6521c
4 changed files with 17 additions and 16 deletions

View File

@ -105,10 +105,11 @@ public class DownloadDialog implements OnCollectionCallBackListener {
isShow = false;
}
// todo 不能设置未单例
public static DownloadDialog getInstance(Context context) {
if (instance == null) {
instance = new DownloadDialog();
}
// if (instance == null) {
instance = new DownloadDialog();
// }
instance.mContext = context; // 每次创建context重新赋值, Dialog持有context问题
return instance;
}