2

There is a list based on an array of Commands , myList = new List(new Command[] {cmd1, cmd2}) .

I want that when scrolling upwards and reaching the top of the list I want to go to its last element ( at the bottom ) , and when scrolling downwards and reaching the last element at the bottom I want to go to its first element ( at the top ) . How to achieve that ?

Thank you very much

4

1 回答 1

3

use myList.setFixedSelection(List.FIXED_NONE_CYCLIC);

于 2011-06-09T05:59:42.290 回答