Skip to content

Hold Function for Button implemented#174

Merged
cliclye merged 4 commits into
2026from
hold
Mar 7, 2026
Merged

Hold Function for Button implemented#174
cliclye merged 4 commits into
2026from
hold

Conversation

@cliclye

@cliclye cliclye commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

Autonomous.java & TeleOp.Java

  • Added a handler with looper.getmainlooper() to support timed ui updates.
  • Refactored increment and decrement logic for the +- button counter.
  • Replace individual on click listeners to arrays with text view, button, getter names, and setter names
  • used java reflection to invoke matchdata getters and setters.
  • implemented long press auto increment.
  • (When held it the value increments every 100ms)

Also corrected name capitalization in names.txt

@cliclye cliclye requested a review from a team as a code owner March 5, 2026 04:35
@cliclye cliclye enabled auto-merge (squash) March 5, 2026 16:14

@Powerlax Powerlax left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a bit of refactoring

Comment thread app/src/main/java/com/example/myapplication/Autonomous.java Outdated
Comment thread app/src/main/java/com/example/myapplication/TeleOp.java Outdated
Comment thread app/src/main/java/com/example/myapplication/TeleOp.java Outdated
@cliclye cliclye requested a review from Powerlax March 7, 2026 02:48
Corrected name capitalization
@cliclye cliclye merged commit ea997f6 into 2026 Mar 7, 2026
1 check passed
@cliclye cliclye deleted the hold branch March 7, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants