Skip to content

Commit 37495c9

Browse files
committed
Update README.md
1 parent a8fddb5 commit 37495c9

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

README.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,16 @@ Step 2. Add the dependency
2929

3030
# Usage
3131
```xml
32-
<pl.utkala.searchablespinner.SearchableSpinner
33-
android:layout_width="wrap_content"
34-
android:layout_height="wrap_content"
3532

36-
app:closeText="Zamknij"
37-
app:dialogTitle="Wybierz z listy"/>
33+
<pl.utkala.searchablespinner.SearchableSpinner android:layout_width="wrap_content" android:layout_height="wrap_content"
34+
35+
app:closeText="Zamknij" app:dialogTitle="Wybierz z listy" />
3836

3937
```
4038

4139
```java
42-
searchableSpinner.setDialogTitle("Wybierz z listy");
43-
searchableSpinner.setDismissText("Zamknij");
40+
searchableSpinner.setDialogTitle("Wybierz z listy");
41+
searchableSpinner.setDismissText("Zamknij");
4442
```
4543

4644
## Set hint for SearchableSpinner
@@ -93,10 +91,16 @@ searchableSpinner.setCustomDialogAdapter(T:ArrayList<*>)
9391
```
9492

9593
# Changelog
96-
* **1.0.1**
97-
* Fix lost state after screen rotate
98-
* **1.0.0**
99-
* Initial Release
94+
95+
* **1.1.0**
96+
* Add hint for spinner
97+
* Add OnSearchableItem setter
98+
* Add custom dialog background setter
99+
* Add custom dialog adapter setter
100+
* **1.0.1**
101+
* Fix lost state after screen rotate
102+
* **1.0.0**
103+
* Initial Release
100104

101105
# License
102106

0 commit comments

Comments
 (0)