Skip to content

Commit

Permalink
发布1.0.2版本
Browse files Browse the repository at this point in the history
  • Loading branch information
xuexiangjys committed Apr 14, 2019
1 parent 70a9c2e commit 0b2fc58
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 17 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ allprojects {
```
dependencies {
...
implementation 'com.github.xuexiangjys:XUI:1.0.1'
implementation 'com.github.xuexiangjys:XUI:1.0.2'
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.github.bumptech.glide:glide:4.8.0'
}
```
Expand Down Expand Up @@ -171,7 +171,7 @@ protected void attachBaseContext(Context newBase) {

![](https://github.com/xuexiangjys/XPage/blob/master/img/qq_group.jpg)

[xuisvg]: https://img.shields.io/badge/XUI-v1.0.1-brightgreen.svg
[xuisvg]: https://img.shields.io/badge/XUI-v1.0.2-brightgreen.svg
[xui]: https://github.com/xuexiangjys/XUI
[apisvg]: https://img.shields.io/badge/API-17+-brightgreen.svg
[api]: https://android-arsenal.com/api?level=17
Binary file modified apk/xuidemo.apk
Binary file not shown.
Binary file added apk/xuidemo_1.0.2.apk
Binary file not shown.
4 changes: 1 addition & 3 deletions app/src/main/java/com/xuexiang/xuidemo/utils/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ public final class Utils {

public final static String mUpdateUrl = "https://raw.githubusercontent.com/xuexiangjys/XUI/master/jsonapi/update_api.json";

public final static String mUpdateUrl_dev = "https://raw.githubusercontent.com/xuexiangjys/XUI/dev/1.0.2/jsonapi/update_api.json";

private Utils() {
throw new UnsupportedOperationException("u can't instantiate me...");
}
Expand Down Expand Up @@ -51,7 +49,7 @@ public static void initRecyclerView(RecyclerView recyclerView) {
* @param context
*/
public static void checkUpdate(Context context, boolean needErrorTip) {
XUpdate.newBuild(context).updateUrl(mUpdateUrl_dev).update();
XUpdate.newBuild(context).updateUrl(mUpdateUrl).update();
XUpdate.get().setOnUpdateFailureListener(new CustomUpdateFailureListener(needErrorTip));

}
Expand Down
10 changes: 5 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ allprojects {
```
dependencies {
...
implementation 'com.github.xuexiangjys:XUI:1.0.1'
implementation 'com.github.xuexiangjys:XUI:1.0.2'
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.github.bumptech.glide:glide:4.8.0'
}
```
Expand Down Expand Up @@ -138,7 +138,7 @@ protected void onCreate(Bundle savedInstanceState) {
[![](https://img.shields.io/badge/点击一键加入QQ交流群-602082750-blue.svg)](http://shang.qq.com/wpa/qunwpa?idkey=9922861ef85c19f1575aecea0e8680f60d9386080a97ed310c971ae074998887)


[xuisvg]: https://img.shields.io/badge/XUI-v1.0.1-brightgreen.svg
[xuisvg]: https://img.shields.io/badge/XUI-v1.0.2-brightgreen.svg
[xui]: https://github.com/xuexiangjys/XUI
[apisvg]: https://img.shields.io/badge/API-17+-brightgreen.svg
[api]: https://android-arsenal.com/api?level=17
8 changes: 4 additions & 4 deletions jsonapi/update_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"Code": 0,
"Msg": "",
"UpdateStatus": 1,
"VersionCode": 4,
"VersionName": "1.0.3",
"UploadTime": "2019-04-16 12:00:00",
"VersionCode": 3,
"VersionName": "1.0.2",
"UploadTime": "2019-04-15 12:00:00",
"ModifyContent": "\r\n1、优化界面体验。\r\n2、添加更多组件的使用案例。\r\n3、新增多种组件和工具。",
"DownloadUrl": "https://raw.githubusercontent.com/xuexiangjys/XUI/master/apk/xuidemo_1.0.3.apk",
"DownloadUrl": "https://raw.githubusercontent.com/xuexiangjys/XUI/master/apk/xuidemo.apk",
"ApkSize": 25600
}

0 comments on commit 0b2fc58

Please sign in to comment.