Skip to content

Commit

Permalink
Update README.md for 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
edasich committed Oct 11, 2021
1 parent c62ff3b commit c4f8c3d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ dateTimeSwitcher.adapter = object : DateTimeSwitcherAdapter() {
}
```

### Switch Mode Listener
```kotlin
dateTimeSwitcher.setOnSwitchChangedListener { switchMode, startDateTime, endDateTime ->
..
}
```

### Next and Previous Listeners
```kotlin
dateTimeSwitcher.setOnNextClickListener { switchMode, startDateTime, endDateTime ->
Expand Down
6 changes: 3 additions & 3 deletions widget-time/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
defaultConfig {
minSdk 21
targetSdk 31
versionCode 1
versionName "1.0.3"
versionCode 5
versionName "1.0.4"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand Down Expand Up @@ -43,7 +43,7 @@ afterEvaluate {
from components.release
groupId = 'com.github.edasich'
artifactId = 'widget-time'
version = '1.0.3'
version = '1.0.4'
}
}
}
Expand Down

0 comments on commit c4f8c3d

Please sign in to comment.