How to resolve Xamarin.Forms crash when navigating between pages on Android?
I'm experiencing an issue in a Xamarin.Forms app where the app crashes when navigating between two pages, but only on Android devices. The crash log mentions an ObjectDisposedException related to a renderer. I suspect it has something to do with the way the navigation stack is being managed or a custom renderer that is being disposed prematurely. I've tried wrapping the navigation code in Device.BeginInvokeOnMainThread, but it didn't help.
Does anyone have a reliable pattern for safe navigation between pages in Xamarin.Forms, especially on Android?
This question is related to the following Learning Module