Page 1 of 1

Task 2 (Total 4m) 1. on the horizontal right to left scroll: decrement the year by the amount of scroll (i.e. distance)

Posted: Fri May 20, 2022 6:53 pm
by answerhappygod
Task 2 Total 4m 1 On The Horizontal Right To Left Scroll Decrement The Year By The Amount Of Scroll I E Distance 1
Task 2 Total 4m 1 On The Horizontal Right To Left Scroll Decrement The Year By The Amount Of Scroll I E Distance 1 (12.51 KiB) Viewed 34 times
Using the onScroll method
from GestureDetector.SimpleOnGestureListener
in ANDROID STUDIO,
complete Task
2: year is an integer value from an EditText.
Task 2 (Total 4m) 1. on the horizontal right to left scroll: decrement the year by the amount of scroll (i.e. distance) (2m) 2. on the horizontal left to right scroll: increment the year by the amount of scroll (i.e. distance) (2m)