Hi,
I am using the multiple choice selection for a list view in android.
The problem is: the checked items returned by the
getListView().getCheckedItemPositions(); call do not work, i.e. the first call is correct but subsequent calls for a set of items that has previously selected items UNSELECTED are returned with all the original selectrions together with the new ones.
More clearly:
first call: items 1 3 5 selected
result correct: 1 3 5 positions selected
second call: items 1 2 5
result incorrect: 1 2 3 5 positions selected
Seeing as there is NO documentation for CheckedTextView and relatives there is either something that I am missing, (such as a flush call?) or the implementation is buggy/inconsistent.
Anybody know what's going on or come accross this?
Thanks for the help
I am using the multiple choice selection for a list view in android.
The problem is: the checked items returned by the
getListView().getCheckedItemPositions(); call do not work, i.e. the first call is correct but subsequent calls for a set of items that has previously selected items UNSELECTED are returned with all the original selectrions together with the new ones.
More clearly:
first call: items 1 3 5 selected
result correct: 1 3 5 positions selected
second call: items 1 2 5
result incorrect: 1 2 3 5 positions selected
Seeing as there is NO documentation for CheckedTextView and relatives there is either something that I am missing, (such as a flush call?) or the implementation is buggy/inconsistent.
Anybody know what's going on or come accross this?
Thanks for the help