[GH-ISSUE #187] Move invalidate() to onTouchEvent() from onDraw() in the Slider.java #2536

Closed
opened 2026-05-01 21:30:28 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @WangYang525 on GitHub (May 18, 2017).
Original GitHub issue: https://github.com/wasabeef/awesome-android-ui/issues/187

Why is there the function invalidate() in the onDraw().That would result in refreshing the component ceaselessly. Why don't place the invalidate() in the onTouchEvent()?

Originally created by @WangYang525 on GitHub (May 18, 2017). Original GitHub issue: https://github.com/wasabeef/awesome-android-ui/issues/187 Why is there the function invalidate() in the onDraw().That would result in refreshing the component ceaselessly. Why don't place the invalidate() in the onTouchEvent()?
Author
Owner

@WangYang525 commented on GitHub (May 18, 2017):

I shouldn't put issue here.This just a list for projects.

<!-- gh-comment-id:302420220 --> @WangYang525 commented on GitHub (May 18, 2017): I shouldn't put issue here.This just a list for projects.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-android-ui#2536