Hi all,I have used pivot & listbox(includes number of images) control ,where list box sends only 3 items per button click out of 100+items to pivot control it is working fine but when i click again previous images never removed from memory() all though images displayed are proper(i.e. on first click images 0,1,2 display When next time click images 1,2,3 display etc way images display cycling)But My problem is When i "Click Next" then previous image does not delete from memory that's why I was get "OutOfMemory Exception"
additional information copied from comment below
Here i have use XAML to create Pivot and C# use to create "3 Generic list box" and "1" for store all camera roll images,"2" for listbox create form main class and it stores="listbox1" values,then "3" rd Listbox create for pickup only 3 images from "listbox2 i.s. 0,1,2 after Click button then "3 ListBox" add " 1,2,3"etc way "3 ListBox store only 3 items and display(Same like swiping images like media library when Next,Previous Button click)"s i have swipe position of images it also work fine "First Next, Previous" But My Problem is when i change position of images previous image does not remove from memory only images reflect each other .i.e. i have create of 3 images cycle for display images.Then i have try to update pivot items before click to remove the previous images from memory and reload next 3 images cycle.Please provide simple code for these problem i have try but still pending.