Comments (5)
So if you have 'duplicate definitions', you either included the library twice somehow; or you might have the source included in your project and also declared a gradle dependency, which could create a problem.
Other than that, each View has it's own namespace, and its attribute names shouldn't collide with other attribute names.
Did you check out the demo app? https://github.com/milosmns/actual-number-picker/tree/master/demo
You can compare yours with that one and see what's different.
from actual-number-picker.
thanks for getting back so quick. don't have it included twice, all I have done is added compile 'me.angrybyte.picker:picker:1.3.1' to module gradle. I am playing around with another library (CrystalRangeSeekbar). These variables are also used there which is causing the conflict.
I don't have any experience with libraries. I assumed there was some mechanism to keep variables localized but no clue on what to look at
from actual-number-picker.
from actual-number-picker.
Attributes from my lib are prefixed with the View's name, following up with an underscore, so
ActualNumberPicker_attribute
so that can't collide with anything. Pls check your XML/Java to see if you have another spot in the code that might be causing the issue, or just start a new project and add things one by one until it breaks :)
from actual-number-picker.
Btw, the range bar you're using is definitely causing the issue,
<attr name="min_value" format="float" />
<attr name="max_value" format="float" />
So it's probably best if you ask them to remove those unbound attributes altogether. I can't see a use case for unbound attributes such as these.
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
- Can't compile HOT 7
- 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
- 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.