Skip to content

Commit

Permalink
Modify gradle to increase version
Browse files Browse the repository at this point in the history
  • Loading branch information
sadra committed Dec 17, 2018
1 parent 771a22d commit 9ccff54
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions AwesomeSpinner/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 25
versionCode 12
versionName "1.2.0"
versionCode 13
versionName "1.3.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ allprojects {

**Step 2.** Add the dependency:
```groovy
implementation 'com.github.sadra:AwesomeSpinner:1.2.0'
implementation 'com.github.sadra:AwesomeSpinner:1.3.0'
```

## How To Use
Expand Down Expand Up @@ -93,6 +93,7 @@ there is some controls for your spinner:
| setSelection(TEXT) | `String` value | You should pass the **item value** to select the item programatically |
| setSpinnerEnable(BOOLEAN); | `Boolean` value | If you want enable or disable the spinner, you should call this method. |
| isSpinnerEnable(); | - | Result = `boolean`: Returns **true** if the spinner is enabled, and vice versa |
| setHintTextColor(); | `int` Color | If you need to change the **Spinner Hint Text** color, just call the method and pass you color, ex: `Color.BLUE` |
| setSelectedItemHintColor(); | `int` Color | If you need to change the **Selected Item Hint** color, just call the method and pass you color, ex: `Color.BLUE` |
| setDownArrowTintColor(); | `int` Color | If you need to change the **Down Arrow** hint color, just call the method and pass you color, ex: `Color.BLUE` |

Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ android {
applicationId "com.isapanah.awsomespinnerexample"
minSdkVersion 14
targetSdkVersion 25
versionCode 12
versionName "1.2.0"
versionCode 13
versionName "1.3.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand All @@ -32,5 +32,5 @@ android {
dependencies {
compile 'com.android.support:design:25.4.0'
implementation project(":AwesomeSpinner")
// implementation 'com.github.sadra:AwesomeSpinner:1.2.0'
// implementation 'com.github.sadra:AwesomeSpinner:1.3.0'
}

0 comments on commit 9ccff54

Please sign in to comment.