Step 1
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
implementation 'com.github.zxyUncle:zxyDowloadFile:latest.release'
//开始下载
DowloadFile.init(apkPath, this) { step, isSuccess ->
//step 返回的进度 isSuccess 是否下载失败
}
alertDialogUtils = AlertDialogUtils.build(this)
.setView(R.layout.dialog_button) //必选 设置布局View
.create { view, alertDialogUtils ->
//对点击事件的处理-这里没有
}
1、修改9.0不能安装的BUg 2、增加强制更新 3、设置进度条颜色设置,防止不同机型颜色不一致
1、修改去掉内容提供者,在module中执行 2、修改一个手机只能有一个app使用这个module的bug
1、适配10.0