Skip to content

Commit

Permalink
Merge pull request #40 from mscibilia/Issue-34-Add-search-country-dro…
Browse files Browse the repository at this point in the history
…pdown

Issue #34: Made country spinner a searchable spinner.
  • Loading branch information
ritwikshanker authored Oct 10, 2020
2 parents 0566125 + c04a6e1 commit 72c809e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ dependencies {
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'com.toptoche.searchablespinner:searchablespinnerlibrary:1.3.1'
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ class AboutFragment : Fragment() {
Contributor("Ritwik Shanker", "🇮🇳", true),
Contributor("Sunny", "🇮🇳"),
Contributor("M. Asrof Bayhaqqi", "🇮🇩"),
Contributor("Jacob", "\uD83C\uDDF7\uD83C\uDDFA")
Contributor("Jacob", "\uD83C\uDDF7\uD83C\uDDFA"),
Contributor("Matthew Scibilia", "\uD83C\uDDE6\uD83C\uDDFA")
)

override fun onCreateView(
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/main_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
android:layout_height="match_parent"
android:orientation="vertical">

<Spinner
<com.toptoche.searchablespinnerlibrary.SearchableSpinner
android:id="@+id/mySpinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
Expand Down

0 comments on commit 72c809e

Please sign in to comment.