Xamarin Shell Template Flyout

I am trying to use the Xamarin Shell Template Flyout. After creating the project, it works okay. But when I add the Syncfusion Xamarin UI Kit SimpleLoginPage template then namespace and other errors appears. Are the two templates not compatible?
Or is there a workaround?

Attachment: ShellAppTwo_64232d36.rar

5 Replies 1 reply marked as answer

YP Yuvaraj Palanisamy Syncfusion Team September 18, 2020 01:51 PM UTC

Hi Kingsley Bainn,  
   
Greetings from Syncfusion.  
  
We have analyzed the reported problem and we would like to let you know that If the specified file [BaseViewModel.cs] already have in the application with the same name in the UIKit then, UIKit will ignore that file. In order to resolve that, need to add the required thing in your application.  
  
BaseViewModel.cs from UIKit is not added in the application. In that we have NotifyPropertyChanged event. Could you please use OnPropertyChanged instead of NotifyPropertyChanged to resolve this issue?  
   
Also please include LoginViewModel.cs in ViewModels/Forms folder due to the same class is having in ViewModels folder.  
    
Please find the github source file in the below  
   
   
   
For more information please refer the below UG link  
   
 
Regards, 
Yuvaraj 


Marked as answer

KB Kingsley Bainn September 19, 2020 04:38 PM UTC

First of all, thank you very much indeed for such an excellent support.  Playing around I came to the same conclusions and your solution confirmed it.  But instead of changing the generated NotifyPropertyChanged to OnPropertyChanged which is in the Flyout's BaseViewModel, I rather added the NotifyPropertyChanged to the BaseViewModel class.  So in the BaseViewModel class there are the two.  That way you don't need to go around all the UI Kit templates making changes.

Once again, thank you.


YP Yuvaraj Palanisamy Syncfusion Team September 21, 2020 05:35 AM UTC

Hi Kingsley Bainn,  

Thank you for update. We are glad to know that solution works at your end.  

Regards, 
Yuvaraj 



MM Mik Maker November 6, 2020 10:43 AM UTC

I have the same problem with a newer Syncfusion Xamarin UI.
Thanks to this page, it is now solved.

I have another linked problem : How do  you load  the Syncfusion  generated pages created in "Views\Forms" in the  AppShell.xaml ?
With local: I don't see the sub folder generated (Forms)


YP Yuvaraj Palanisamy Syncfusion Team November 6, 2020 01:05 PM UTC

Hi Mik Maker,  
   
Thanks for your update.  
   
We have analyzed your query “Load Syncfusion  generated pages created in "Viewes\Forms" in AppShell.xaml”. For your information, we have loaded the template page and its related NuGet, Model, ViewModel, and if required its renderer file alone. We didn’t add any of the specific folder formats, since the desired folder structure may differ with each and every customer.  

Regards, 
Yuvaraj. 


Loader.
Up arrow icon