Comments (7)
Can you check the demo project and compare? I don't think your error is related to the picker code.
Here is the demo project: https://github.com/milosmns/actual-number-picker/tree/master/demo
Demo compiles for me without any issues.
from actual-number-picker.
Thank you for your quick reply :)
I tried to change this thing I saw different:
minSdkVersion 22
by minSdkVersion 11
but I still have the same problem.
Or the compileSdkVersion 25
and targetSdkVersion 25
required API 25 to work? I'm on 23 here.
My code without compile 'me.angrybyte.picker:picker:1.3.1',
works. Any other idea ? I agree, I'm not an expert in android development, so.. that's maybe my fault, but I don't see where I did a mistake. I assume the problem is maybe in the build.gradle ? But where..
from actual-number-picker.
Wait, how come you don't have the 'dependencies' block in your app gradle file?
from actual-number-picker.
Yes I have ! I have take only a part of my build.gradle before, sorry!
from actual-number-picker.
Ah. Ok can you try to change the appcompat version to compile 'com.android.support:appcompat-v7:25.1.0'
?
Maybe that's the issue. I don't think we actually use anything from appcompat, not sure why I imported that in the first place. But lets try that first - change the appcompat version and let me know how it goes.
You might be forced to change your build tools version to the same number (25), Studio will notify you if that is needed.
from actual-number-picker.
Ah !!! That was the problem !! This now compiles and displays the number picker well.
Thank you very much and sorry for the stupid mistake !
from actual-number-picker.
Not your mistake :) I probably don't need that dependency anyway. Glad this helped.
from actual-number-picker.
Related Issues (15)
- new attribute step size? HOT 2
- W/View: ActualNumberPicker not displayed because it is too large to fit into a software layer (or drawing cache), needs 15322800 bytes, only 14745600 available HOT 8
- Values as float HOT 1
- how can i use this function to stop wrapinng between min and max? HOT 1
- Bug : i can't set value programmatically!! HOT 4
- duplicate values in values.xml HOT 5
- not any bug or something but i want my slow key to add or subtract 0.1 and fast key to add or subtract 1 HOT 6
- How to discern how a value change is made HOT 3
- how to handle onValueChanged while using multiple ActualNumberPicker! HOT 3
- I can't make the view width "match_parent" HOT 4
- Touching the view should not fire valueChange event but only dragging HOT 4
- Let max and min range be set programmatically HOT 15
- Doesn't showing on Android 6.0 if on ListView HOT 3
- Picker is not working for high values range HOT 7
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 actual-number-picker.