Skip to content

Commit

Permalink
优化细节
Browse files Browse the repository at this point in the history
  • Loading branch information
jenly1314 committed Mar 4, 2021
1 parent 2263780 commit b77f795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ AppUpdater for Android 是一个专注于App更新,一键傻瓜式集成App版
@Override
public void onClick(View v) {
new AppUpdater.Builder()
.serUrl(mUrl)
.setUrl(mUrl)
.build(getContext())
.start();
AppDialog.INSTANCE.dismissDialog();
Expand All @@ -128,7 +128,7 @@ AppUpdater for Android 是一个专注于App更新,一键傻瓜式集成App版
@Override
public void onClick(View v) {
new AppUpdater.Builder()
.serUrl(mUrl)
.setUrl(mUrl)
.setFilename("AppUpdater.apk")
.build(getContext())
.setHttpManager(OkHttpManager.getInstance())//不设置HttpManager时,默认使用HttpsURLConnection下载,如果使用OkHttpClient实现下载,需依赖okhttp库
Expand Down

0 comments on commit b77f795

Please sign in to comment.