how to make items in listview scroll up and down with respect to key uppressed, and key downpressed, once it works fine with key down pressed, it wont work for key up pressed, it should work in both key uppressed and key downpressed, please help me out
once it works fine with key down pressed, it wont work for key up pressed
could you show your code?
This post is deleted!
@Pradeep-Kumar.M Since you are using a
ListViewits better to make use of currentIndex. Setting it to some index will automatically scroll
ListViewto that item.
Another way would be to use flick method. IMO, setting
currentIndexwould be a better idea.
P.S: Always try to post a minimal compilable example that shows the exact problem just in case someone wants to test it first.