ntoskrnl / SpeedometerView

Simple speedometer-like gauge with needle for Android
64 stars 34 forks source link

Allow setSpeed with animation to be zero #1

Closed Lauszus closed 9 years ago

Lauszus commented 10 years ago

Is there any reason why you don't allow this value: https://github.com/ntoskrnl/SpeedometerView/blob/master/CardioMoodSpeedometerView/SpeedometerView/src/main/java/com/cardiomood/android/speedometer/SpeedometerView.java#L111-L112 to be 0?

I have worked around this temporarily by simply adding a very small number to the progress before calling setSpeed.

ntoskrnl commented 10 years ago

Lol)) you are so right! I must fix this! Actually i also found a couple of bugs... i will commit fixes soon.

Lauszus commented 10 years ago

Thanks. Looking forward to the update ;) Btw have you considered pushing it to Maven central? Right now I have set up my own local Maven repository inside the libs folder: https://github.com/Lauszus/BalancingRobotFullSizeAndroid/tree/master/app/libs/com for it to work.

Lauszus commented 10 years ago

Any update on this? Btw here is what I have been using your library for: http://blog.tkjelectronics.dk/2014/07/full-size-diy-balancing-robot/ ;)

ntoskrnl commented 9 years ago

I have a lib with a few controls, not just a SpeedometerView... I think I will mark this as Deprecated, and create another repo....

Lauszus commented 9 years ago

Okay. I will switch to that once I update my app :)

ntoskrnl commented 9 years ago

Hello! https://github.com/ntoskrnl/AndroidWidgets this is the new repo. Also I pushed the project to the maven central. They promised it will become available soon.

compile 'com.cardiomood.android:android-widgets:0.1'
Lauszus commented 9 years ago

@ntoskrnl awesome, thank you!