1.How to delete the particular pages in page list.
Ex:I have the page list with the size of 10.I want to delete the page2 and page 5.
Mahesh : Use Page Remove method in activity and pass the page with the index to remove.
2.How to insert the page between two pages in the page list?
Ex:I have a page list with the size of 10.Now I want to insert one more page between page5 and page6.
Mahesh: As pee my knowledge we dot have any OOTB method to inset page in pagelist to a specific index.
you have to implement the logic by your own, for implementing it you can use the swap logic.
ex you have pagelist xyz and want to add the page to it in between not at the end conside pagelist has length of 10 and you want to add page at 6 index and the existing page at index 6th will be moved to 7th index.
- Copy the 5 pages into a temp page and add the 6th page and copy the remaining page to the temp pagelist at the end copy temp page list to main page list.