BetterSpinner
BetterSpinner copied to clipboard
Regarding setOnItemSelectedListener
Hey!
I have the following issue like explained here: https://github.com/Lesilva/BetterSpinner/issues/11
You said something about modify the java file and add it to your project. I don't know if did it correctly, but I think not because I get a java.lang.ClassCastException. I added the "MaterialBetterSpinner.java" to my project. Then I used in my Activity "import de.myprojects.utils.MaterialBetterSpinner".
This is how I actually added your library to my project (using Android Studio):
compile ('com.weiwangcn.betterspinner:library-material:1.1.0') {
exclude group: 'com.android.support', module: 'appcompat-v7'
exclude group: 'com.android.support', module: 'appcompat-v7'
}
Would be appreciate it, when you can explain me how I can add the files to my project, that I'm able to modify them.
Thanks!
You can download the source code .zip file from here and copy MaterialBetterSpinner.java
. Drag, drop, done.