Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
limxing committed Jan 27, 2021
1 parent f63d247 commit c24ad41
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ allprojects {
App level build.gradle
```
dependencies {
implementation 'com.github.limxing:DatePickerView:1.0.3'
implementation 'com.github.limxing:DatePickerView:1.0.4'
}
```

Expand Down Expand Up @@ -64,6 +64,11 @@ app:dpvDateEnableAlpha="true" 是否透明度向两侧渐变,默认t
kotlin
```kotlin

//获取选中的日期 yyyy-MM-dd
datePickerView.dateString
//获取选中的日期,时间戳
datePickerView.dateLong

//监听回调闭包
datePickerView.listener = {
//[year,month,day]
Expand Down

0 comments on commit c24ad41

Please sign in to comment.