Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

How to unload ContentPage instance?

$
0
0

Adding page to navigation stack:
Navigation.PushAsync(new SecondPage());
Popping page inside SecondPage:
Navigation.PopAsync();

but finalizer of SecondPage has not coused.
So, SecondPage occupied the memory. After some cycles pop/push unwanted instanced multiplying.
GC.Collect does not effect.

How to solve?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>