Skip to content

Commit

Permalink
release as 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liyujiang-gzu committed Jul 30, 2021
1 parent 3155d34 commit 382c97f
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 15 deletions.
7 changes: 7 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# 更新日志

## 3.1.0 - 2021.07.30

- 新增图片选择器(相机+相册+裁剪),可用于头像选择裁剪;
- 修复个别已知的可能的异常;
- 改进12小时制的上下午选择,参阅 [252#issuecomment-888115423](https://github.com/gzu-liyujiang/AndroidPicker/issues/252#issuecomment-888115423)
- 民族选择器支持按民族代码、民族中文名及罗马拼写设置默认值;

## 3.0.8 - 2021.07.21

- 联动/日期/时间选择器有滚轮在滑动中时不允许另外的滚轮滑动,参阅 [issues#251](https://github.com/gzu-liyujiang/AndroidPicker/issues/251);
Expand Down
2 changes: 1 addition & 1 deletion Common/src/main/res/layout/confirm_picker_header.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
android:singleLine="true"
android:textColor="#FF666666"
android:textSize="14sp"
tools:text="这是标题" />
tools:text="@android:string/untitled" />

<TextView
android:id="@+id/confirm_picker_ok"
Expand Down
36 changes: 23 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ allprojects {
}
```

所有选择器的基础窗体:

```groovy
dependencies {
implementation 'com.github.gzu-liyujiang.AndroidPicker:Common:<version>'
}
```

滚轮选择器的滚轮控件:

```groovy
Expand All @@ -42,8 +50,6 @@ dependencies {

```groovy
dependencies {
implementation 'com.github.gzu-liyujiang.AndroidPicker:Common:<version>'
implementation 'com.github.gzu-liyujiang.AndroidPicker:WheelView:<version>'
implementation 'com.github.gzu-liyujiang.AndroidPicker:WheelPicker:<version>'
}
```
Expand All @@ -52,9 +58,6 @@ dependencies {

```groovy
dependencies {
implementation 'com.github.gzu-liyujiang.AndroidPicker:Common:<version>'
implementation 'com.github.gzu-liyujiang.AndroidPicker:WheelView:<version>'
implementation 'com.github.gzu-liyujiang.AndroidPicker:WheelPicker:<version>'
implementation 'com.github.gzu-liyujiang.AndroidPicker:AddressPicker:<version>'
}
```
Expand All @@ -63,7 +66,6 @@ dependencies {

```groovy
dependencies {
implementation 'com.github.gzu-liyujiang.AndroidPicker:Common:<version>'
implementation 'com.github.gzu-liyujiang.AndroidPicker:FilePicker:<version>'
}
```
Expand All @@ -72,7 +74,6 @@ dependencies {

```groovy
dependencies {
implementation 'com.github.gzu-liyujiang.AndroidPicker:Common:<version>'
implementation 'com.github.gzu-liyujiang.AndroidPicker:ColorPicker:<version>'
}
```
Expand All @@ -81,19 +82,15 @@ dependencies {

```groovy
dependencies {
implementation 'com.github.gzu-liyujiang.AndroidPicker:Common:<version>'
implementation 'com.github.gzu-liyujiang.AndroidPicker:CalendarPicker:<version>'
}
```

旧版本 **Support 稳定版本**
图片选择器

```groovy
dependencies {
implementation 'com.github.gzu-liyujiang.AndroidPicker:Common:1.5.6.20181018'
implementation 'com.github.gzu-liyujiang.AndroidPicker:WheelPicker:1.5.6.20181018'
implementation 'com.github.gzu-liyujiang.AndroidPicker:FilePicker:1.5.6.20181018'
implementation 'com.github.gzu-liyujiang.AndroidPicker:ColorPicker:1.5.6.20181018'
implementation 'com.github.gzu-liyujiang.AndroidPicker:ImagePicker:<version>'
}
```

Expand All @@ -108,6 +105,17 @@ dependencies {
}
```

旧版本 **Support 稳定版本**

```groovy
dependencies {
implementation 'com.github.gzu-liyujiang.AndroidPicker:Common:1.5.6.20181018'
implementation 'com.github.gzu-liyujiang.AndroidPicker:WheelPicker:1.5.6.20181018'
implementation 'com.github.gzu-liyujiang.AndroidPicker:FilePicker:1.5.6.20181018'
implementation 'com.github.gzu-liyujiang.AndroidPicker:ColorPicker:1.5.6.20181018'
}
```

代码同时托管在`GitHub``GitEE`,因此`3.x及以上版本`的依赖项也可以将`com.github.gzu-liyujiang`换成`com.gitee.li_yu_jiang`,即:

```groovy
Expand All @@ -118,6 +126,7 @@ dependencies {
implementation 'com.gitee.li_yu_jiang.AndroidPicker:ColorPicker:<version>'
implementation 'com.gitee.li_yu_jiang.AndroidPicker:FilePicker:<version>'
implementation 'com.gitee.li_yu_jiang.AndroidPicker:CalendarPicker:<version>'
implementation 'com.gitee.li_yu_jiang.AndroidPicker:ImagePicker:<version>'
```

## 混淆规则
Expand Down Expand Up @@ -262,6 +271,7 @@ dependencies {
- ![效果图](/screenshots/6.gif)
- ![效果图](/screenshots/7.gif)
- ![效果图](/screenshots/8.gif)
- ![效果图](/screenshots/9.gif)

## 特别鸣谢

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public void onOptionBean(View view) {
}

public void onSex(View view) {
SexPicker picker = new SexPicker(this);
SexPicker picker = new SexPicker(this, true);
picker.setDefaultValue("女");
picker.setOnOptionPickedListener(this);
picker.show();
Expand Down
Binary file added screenshots/9.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 382c97f

Please sign in to comment.