Regarding ListView
-
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
-
@Pradeep-Kumar.M said:
once it works fine with key down pressed, it wont work for key up pressed
Hi,
could you show your code?
-
This post is deleted! -
@Pradeep-Kumar.M Since you are using a
ListView
its better to make use of currentIndex. Setting it to some index will automatically scrollListView
to that item.
Another way would be to use flick method. IMO, settingcurrentIndex
would 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.