Closed spitzlitz closed 6 years ago
Hi Did you check out the examples in https://github.com/michaelprimez/searchablespinner/blob/master/app/src/main/java/gr/escsoft/michaelprimez/searchablespinnerexamples/MainActivity.java ?
Hi,
i try but its hard to copy all codes in my project.
Now i fail at: mSearchableSpinner.setAdapter(mSimpleArrayListAdapter);
with Error:
java.lang.NullPointerException: Attempt to invoke virtual method 'void gr.escsoft.michaelprimez.searchablespinner.SearchableSpinner.setAdapter(android.widget.ListAdapter)' on a null object reference
EDIT: Sorry, i am stupid. Now it works. I love it!!!! Keep up the great work!!!
Hello,
i am from Germany (my english is not so good) and want to add your searchable spinner in my app. I use "Android Studio" and do it like your instruction "usage":
=That works.
Now i want to add items to the searchable Spinner, but either my app crash or the searchable spinner stays empty.
Have you a tip for my?
Best regards Andreas