I'm creating an Android app with a ListView
and I'm using this line:
SparseBooleanArray checkedPositions = list.getCheckedItemPositions();
Then I want to iterate over the array but only if there is at least a single value which is true in the checkedPositions
array.
Can something like this be done?