File tree Expand file tree Collapse file tree
resources/src/main/java/com/chivorn/resourcemodule Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ The best Android spinner library for your android application with more customiz
3030 * ` smsp_enableDismissSearch ` : To enable/disable dismiss button on search dialog
3131 * ` smsp_dismissSearchText ` : To set dismiss button text for search dialog
3232 * ` smsp_dismissSearchColor ` : To set dismiss button text color for search dialog
33+ * ` smsp_searchDropdownView ` : To custom search view item
3334
3435### Spinner item
3536 * ` smsp_itemSize ` : To set spinner item size
@@ -126,17 +127,10 @@ The best Android spinner library for your android application with more customiz
126127
127128## Usage
128129### Add the dependencies to your gradle file:
129- #### <a name =" LegacyGradle " ></a > Legacy Project
130130
131131``` gradle
132132dependencies {
133- implementation 'com.github.chivorns:smartmaterialspinner:1.2.1'
134- }
135- ```
136- #### <a name =" AndroidXGradle " ></a > AndroidX Project
137- ``` gradle
138- dependencies {
139- implementation 'com.github.chivorns.androidx:smartmaterialspinner:1.2.1'
133+ implementation 'com.github.chivorns:smartmaterialspinner:1.3.0'
140134}
141135```
142136
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ android {
77 applicationId " com.chivorn.smsp.demojava"
88 minSdkVersion 14
99 targetSdkVersion 29
10- versionCode 5
11- versionName " 1.2.1 "
10+ versionCode 6
11+ versionName " 1.3.0 "
1212 testInstrumentationRunner ' androidx.test.runner.AndroidJUnitRunner'
1313 }
1414 buildTypes {
Original file line number Diff line number Diff line change @@ -69,7 +69,6 @@ public void initItemList() {
6969 provinceList .add ("Kep" );
7070 provinceList .add ("Koh Kong" );
7171 provinceList .add ("Kratie" );
72- provinceList .add ("Some very very very very very very very very very very very very big province" );
7372 provinceList .add ("Mondulkiri" );
7473 provinceList .add ("Oddar Meanchey" );
7574 provinceList .add ("Pailin" );
Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ apply plugin: 'com.android.library'
33ext {
44 // Library
55 LIBRARY_NAME = ' SmartMaterialSpinner'
6- PUBLISH_GROUP_ID = ' com.github.chivorns.androidx '
6+ PUBLISH_GROUP_ID = ' com.github.chivorns'
77 PUBLISH_ARTIFACT_ID = LIBRARY_NAME . toLowerCase()
8- PUBLISH_VERSION = ' 1.2.1 '
8+ PUBLISH_VERSION = ' 1.3.0 '
99
1010 // Bintray
11- BINTRAY_REPO = ' androidx '
11+ BINTRAY_REPO = ' maven '
1212 LIBRARY_DESC = ' Provide with more customization for your spinner.'
1313
1414 // Github
@@ -32,7 +32,7 @@ android {
3232 defaultConfig {
3333 minSdkVersion 14
3434 targetSdkVersion 29
35- versionCode 2
35+ versionCode 23
3636 versionName " $PUBLISH_VERSION "
3737
3838 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
You can’t perform that action at this time.
0 commit comments