2

On click on next button, the list should highlight/select next item in the listview. How can i achieve it without actually touching the list item directly on the screen?

enter image description here

himanshu
  • 1,962
  • 3
  • 18
  • 36
Adarsh H S
  • 1,188
  • 6
  • 20
  • 42

2 Answers2

4

ListView.setSelection(int pos) will help you to achieve this.

Mohammed Azharuddin Shaikh
  • 40,812
  • 14
  • 95
  • 115
0

on next click u can change the background of the respective item and store the position for further work.this will be act as selected items