Locking the SeekArc when 360 is reached, instead of starting from 0
See original GitHub issueHi 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:
- Created 7 years ago
- Comments:6
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
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?