Skip to content
This repository has been archived by the owner on Nov 28, 2021. It is now read-only.

Allow setSpeed with animation to be zero #1

Closed
Lauszus opened this issue Jun 16, 2014 · 7 comments
Closed

Allow setSpeed with animation to be zero #1

Lauszus opened this issue Jun 16, 2014 · 7 comments

Comments

@Lauszus
Copy link

Lauszus commented Jun 16, 2014

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
Copy link
Owner

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

@Lauszus
Copy link
Author

Lauszus commented Jun 16, 2014

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
Copy link
Author

Lauszus commented Jul 7, 2014

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
Copy link
Owner

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
Copy link
Author

Lauszus commented Oct 22, 2014

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

@Lauszus Lauszus closed this as completed Oct 22, 2014
@ntoskrnl
Copy link
Owner

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
Copy link
Author

Lauszus commented Oct 22, 2014

@ntoskrnl awesome, thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants