Click here to Skip to main content
14,638,900 members
Rate this:
Please Sign up or sign in to vote.
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?
Siddhanath Jadhav 30-Dec-13 2:08am
   
If anybody having sample program please give me.
Siddhanath Jadhav 31-Dec-13 3:18am
   
Hi all,I need it fast Please provide simple code for this.Only I have need to update pivot items when change images position.It is working properly images change but previous image does not release memory thats why some images swiping "OutOffMemoryException" Occure to implement 3 image cycle slot, FIRST,NEXT,PREVIOUS,IF i swipe first image then next image come first image position,also next image position pickup list box new image (Serially) Also delete First image etc.cycle wise.Here i have try to swipe imag
Siddhanath Jadhav 7-Jan-14 9:08am
   
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.
Siddhanath Jadhav 11-Jan-14 1:47am
   
Hi all,I need fast Please Provide simple code for above problem.

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100