I have a login page. After authorization, the user is taken to another page.
Device.BeginInvokeOnMainThread(() =>
{
Application.Current.MainPage = new Main_Page();
});
Should I somehow clear the memory allocated for the login page?
I have a login page. After authorization, the user is taken to another page.
Device.BeginInvokeOnMainThread(() =>
{
Application.Current.MainPage = new Main_Page();
});
Should I somehow clear the memory allocated for the login page?
If you look at Xamarin PageRenderer code here. Xamarin Page class has Dispose() method implemented. So Page should be clean up by GC.