diff --git a/README.md b/README.md index 0842300..e06f07b 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ ```gradle dependencies { - compile 'com.qianwen:update-app:3.2.3' + compile 'com.qianwen:update-app:3.2.4' } ``` diff --git a/update-app/src/main/java/com/vector/update_app/UpdateAppManager.java b/update-app/src/main/java/com/vector/update_app/UpdateAppManager.java index 881ea8f..9645218 100644 --- a/update-app/src/main/java/com/vector/update_app/UpdateAppManager.java +++ b/update-app/src/main/java/com/vector/update_app/UpdateAppManager.java @@ -87,7 +87,7 @@ public void showDialog() { /** * 检测是否有新版本 * - * @param callback + * @param callback 更新回调 */ public void checkNewApp(final UpdateCallback callback) { if (callback == null) { diff --git a/update-app/src/main/java/com/vector/update_app/service/DownloadService.java b/update-app/src/main/java/com/vector/update_app/service/DownloadService.java index e215ea4..045bc04 100644 --- a/update-app/src/main/java/com/vector/update_app/service/DownloadService.java +++ b/update-app/src/main/java/com/vector/update_app/service/DownloadService.java @@ -149,6 +149,8 @@ public interface DownloadCallback { public class DownloadBinder extends Binder { /** * 开始下载 + * @param updateApp 新app信息 + * @param callback 下载回调 */ public void start(UpdateAppBean updateApp, DownloadCallback callback) { //初始化通知栏 diff --git a/update-app/src/main/java/com/vector/update_app/utils/DrawableUtil.java b/update-app/src/main/java/com/vector/update_app/utils/DrawableUtil.java index a3cb902..27b2a9e 100644 --- a/update-app/src/main/java/com/vector/update_app/utils/DrawableUtil.java +++ b/update-app/src/main/java/com/vector/update_app/utils/DrawableUtil.java @@ -224,8 +224,8 @@ public static void setTextStrokeTheme(TextView textView) { /** * 默认空心 设置TextView 主题,随机颜色 - * - * @param textView textView + * @param textView 文本控件 + * @param color 颜色 */ public static void setTextStrokeTheme(TextView textView, int color) { setTextStrokeTheme(textView, 6, 10, color);