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

Anybody else have problems with black pages (LayoutChildren() not being called)

$
0
0

I occasionally experience (maybe 30-40% of the the time) that a Page turns out blank when navigating to it.
I have tried to override OnAppearing() and LayoutChildren() in my code-behind and setting breakpoints.
When it happens the breakpoint in OnAppearing is hit but not in LayoutChildren().

This behaviour begin to happen when I rewrote my code to reuse Pages instead of new'ing them each time (I did this on a suggestion from Xamarin staff as a work-around for the memory leak which caused my app to crash after a while..).

Any ideas what could be the course?

Thanks,


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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