number variable is increase corectly but item are not correctly removed.
example
**numbre are at index **
**7 ,8, 9, 10, 11, 12 ** but deleted items are at index 7, 13,9,15,11, 17 which means 3 item from the first range and 3 item from the secound range. why ? anyone who help me please
assume my partition length(startinglength) will be 6 and i click on image+text list view postion 2 then the index value will be 3
so the expected list item to be deleted are item at index 13 14 15 16 17 18. but it is not delete those item ratherit only delete 13 15 17 from this and 3 more from the next 6 band.
the list will shrimk with each deletion... if you first delete the item at index 25, the item formerly at index 26 is now at Index 25
Now deleting the item at Index 26 will delete the item at index 27 of the previous list