Click here to Skip to main content
15,880,299 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted
Updated 28-Dec-13 13:38pm
v2
Comments
Nelek 27-Dec-13 3:49am    
Don't think we can read minds or do astral projections to see your monitor. If you need help, the least you could do is to add some relevant code to your question or to explain your problem in such a way, that the users of CP can understand it. Otherwise, nobody will be able to help you.

Please use the "improve question" and add relevant information or a piece of code envolved. There are thousands of ways to screw things up, how are we supposed to know which one did you choose?
Siddhanath Jadhav 28-Dec-13 1:15am    
Hi,Thanks For Reply,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.
Nelek 28-Dec-13 19:42pm    
To be honest I don't understand what you need and where is the problem. Try to make short sentences. Don't run, take it easy. Explain one thing (at best with a tiny snippet of code), finish it and add some empty space. Then start the next point.

You can change the content of your message using "improve question"
Nelek 27-Dec-13 3:49am    
In addition, you can read: What have you tried?[^]
Peter Leow 27-Dec-13 4:11am    
Try reading your own question. Is it readable?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900