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,990
  • 3
  • 18
  • 36
Adarsh H S
  • 1,208
  • 6
  • 21
  • 42

2 Answers2

4

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

Mohammed Azharuddin Shaikh
  • 41,633
  • 14
  • 96
  • 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