BetterSpinner icon indicating copy to clipboard operation
BetterSpinner copied to clipboard

Regarding setOnItemSelectedListener

Open lbronxy opened this issue 9 years ago • 1 comments

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!

lbronxy avatar Aug 20 '15 09:08 lbronxy

You can download the source code .zip file from here and copy MaterialBetterSpinner.java. Drag, drop, done.

Lesilva avatar Aug 31 '15 21:08 Lesilva