Move invalidate() to onTouchEvent() from onDraw() in the Slider.java #74

Closed
opened 2025-11-07 07:18:32 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @WangYang525 on GitHub (May 18, 2017).

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). 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.

@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#74