Comments (11)
Do you have mavenCentral in your repo?
from betterspinner.
Here is my main gradle file
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
classpath 'com.jakewharton.hugo:hugo-plugin:1.1.0'
}
}
allprojects {
repositories {
jcenter()
maven {
url "https://repo.commonsware.com.s3.amazonaws.com"
}
}
}
from betterspinner.
Add mavenCentral()
in repositories
from betterspinner.
get the same error, even if i add mavenCentral() in repositories
from betterspinner.
I have added mavenCentral() to my gradle file. BetterSpinner can still not be resolved inside the classes I want to use it. See my Gradle file:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:+'
}
}
allprojects {
repositories {
jcenter()
maven {
url "https://jitpack.io"
}
}
repositories {
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
repositories {
mavenCentral()
}
}
I have also started a post on stack overflow:
http://stackoverflow.com/questions/34474055/external-library-cannot-resolve-symbol?noredirect=1#comment56690531_34474055
from betterspinner.
Until it is resolved, you can use my version.
https://github.com/douglasjunior/BetterSpinner
from betterspinner.
Thank you for your answer. Adding your library to gradle was no problem. Sync without any issue. But when I would like to use the BetterSpinner inside a Fragment I am not able to import it:
from betterspinner.
I'm currently using and have no problems with import.
Please, show me your build.gradle
of top and app level.
from betterspinner.
Hello, i used your library, as good as I exptect, but the one I can not know that is cannot disabling this Spinner, I tried:
spin.setSelected(b);
spin.setClickable(b);
spin.setEnabled(b);
all of above didn't work. Can you help me
My mail is dungdv*****@gmail.com, thanks :)
from betterspinner.
@fukemy I fixed this bug on #27, but is not merged yet. So, you can use my version https://github.com/douglasjunior/BetterSpinner
from betterspinner.
thanks you. work like charm :)
from betterspinner.
Related Issues (20)
- How to change floating label color? HOT 2
- How to set the selected item with particular position? HOT 1
- Please add search popup option.
- Annoying Double Tap issue HOT 3
- how to get value and position of selected item ...? HOT 1
- how to align the drop down icon close to the selected text
- Add an option to hide the dropdown arrow icon HOT 1
- How to change the material better spinner background color
- Please add wiki with explanation of usage MaterialEditText
- How to set typeface in label and hint
- My fix for bugs with empty data, focus, setText and setSelected/getSelected feature
- disable MaterialBetterSpinner HOT 1
- Wrap Long Text
- HOW TO set default value HOT 1
- How to change right icon on betterspinner HOT 1
- how to open spinner programmatically?
- How to validate if no value selected HOT 1
- MaterialBetterSpinner selection remove HOT 1
- Poor docs: Can't get selected item from spinner nulls
- how to know which better spinner is selected or clicked HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from betterspinner.