listview.getCheckedItemPositions() not returning correct result when item is unchecked
<p>I used <strong>SparseBooleanArray</strong> to get positions of checked listitems in a listview :  </p>

<pre><code>final SparseBooleanArray checkedItems = lv.getCheckedItemPositions();  // lv is my listview  
</code></pre>

<p>This works fine when I check a list item. But when I unchecked an item from listview, its size didn't decrease. It remained as it was.<br>
Let me explain what is happening : I firstly select 3 listitems and I get the size of <em>checkedItems</em> as 3. But when I uncheck one item from the list, its size doesn't change to 2. It is still 3.<br>
What needs to be done? Kindly help me out.  </p>

<p>Stone </p>
