Hi All,
I am new to Syncfusion and somewhat new to Xamarin Forms so please forgive this post if I am missing something basic.
I have implemented the NavigationDrawer control and I am successfully navigating between simple pages using:
navigationDrawer.ContentView = new TestPage().Content; (replacing the page content with the new page content)
I notice that if you try to navigate to a more complicated page (ie a pre-formatted SF page from the SyncFusion Essential UI kit) the following VS exception is reached:
System.NullReferenceException: 'Object reference not set to an instance of an object.'
I have researched this and have found the following potential work-arounds:
1. Achieve navigation through PushAsync - ie. await Navigation.PushAsync(new Views.Home.ArticleTilePage());
2. Use the content method above but also reference files attached to the target pages. I have attempted to do this several times using NavigationDrawer.BindingContext
but no luck.
I wonder what the best practice is here and if anyone can provide an example of the C# code to call any pre-formatted Syncfusion page in the Essential UI kit (ie. ArticleTitlePage).
Thanks in advance.
Alex