question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Locking the SeekArc when 360 is reached, instead of starting from 0

See original GitHub issue

Hi Neil,

thanks for the awesome work on this fantastic widget. I’m trying to adapt it to avoid more than one “full-turn”. that means, when you reach 360 degrees, I want the SeekArc to get stuck in there, instead of starting again from zero. I Had no success yet.

Would you suggest any way to approach this requirement? any ideas or pseudo-code that comes in your mind? If I find an elegant solution, i’ll define a new attribute like lockFullTurn or similar, and send you a PR

Thanks in advance 😃

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
gdanielscommented, Aug 21, 2017

There’s a solution for this on https://github.com/neild001/SeekArc/pull/33. Ideally someone who has more time and energy should fork and republish this library, updating to more recent APIs and responding to the issues and PRs that have accumulated over time.

0reactions
gdanielscommented, Aug 22, 2017

Hey @tuancoltech - I’m not sure what you were trying but I just updated the PR to be buildable with Android Studio 2.3.3 and altered the sample app in the PR to include the jumpAllowed="false" attribute on the basic sample. Works as expected for me - let me know if you see something different?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introduce a "jumpAllowed" attribute (default true) which controls gap ...
Locking the SeekArc when 360 is reached, instead of starting from 0 #54. Closed. tuancoltech approved these changes on Aug 21, 2017.
Read more >
Calculating the position of points in a circle - Stack Overflow
Definitely radians. If you use degrees you need angles between 0 and 360 instead. – Gareth McCaughan. Jan 13, 2017 at 10:35.
Read more >
Automated Welding Conceptual Study
It is desirable for the positioning structure to have brakes, so that the base can be locked in place before the weld path...
Read more >
Carista_v3.8+beta-25.apk - Hybrid Analysis
Filename: Carista_v3.8+beta-25.apk; Size: 12MiB (12311067 bytes); Type: android; Description: Zip archive data, at least v1.0 to extract ...
Read more >
ED 064 766 AUTHOR INSTITUTION SPONS AGENCY ... - ERIC
with a stress on normative analysis of public policy alternatives and a reexamination of prior assumptions on which research is based; (2).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found