controls:ParallaxListView

When i use the homepage example in essential-ui-kit-for-xamarin.forms-3.0.0 and have edit it i got this error when i trying to starte the page. i got that error in HomePageViewModel.cs. if i use a other page in app.cs that should start after the onbording it works but not with the homepage part from the example. what i do? 


System.ArgumentNullException
  HResult=0x80004003
  Message=Value cannot be null.
Parameter name: stream
  Source=System.Private.CoreLib
  StackTrace:
   at System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen)
   at System.IO.StreamReader..ctor(Stream stream)
   at VTFK_Hakkespettboka.AppLayout.ViewModels.HomePageViewModel.PopulateList() in C:\Repo\VTFK_Hakkespettboka\VTFK_Hakkespettboka\VTFK_Hakkespettboka\AppLayout\ViewModels\HomePageViewModel.cs:line 34
   at VTFK_Hakkespettboka.AppLayout.ViewModels.HomePageViewModel..ctor() in C:\Repo\VTFK_Hakkespettboka\VTFK_Hakkespettboka\VTFK_Hakkespettboka\AppLayout\ViewModels\HomePageViewModel.cs:line 24
   at VTFK_Hakkespettboka.AppLayout.Views.HomePage.InitializeComponent() in C:\Repo\VTFK_Hakkespettboka\VTFK_Hakkespettboka\VTFK_Hakkespettboka\obj\Debug\netstandard2.0\AppLayout\Views\HomePage.xaml.g.cs:line 74
   at VTFK_Hakkespettboka.AppLayout.Views.HomePage..ctor() in C:\Repo\VTFK_Hakkespettboka\VTFK_Hakkespettboka\VTFK_Hakkespettboka\AppLayout\Views\HomePage.xaml.cs:line 46
   at VTFK_Hakkespettboka.App.d__11.MoveNext() in C:\Repo\VTFK_Hakkespettboka\VTFK_Hakkespettboka\VTFK_Hakkespettboka\App.xaml.cs:line 55


1 Reply 1 reply marked as answer

YP Yuvaraj Palanisamy Syncfusion Team February 11, 2021 01:34 PM UTC

 
Greetings from Syncfusion. 
 
We have analyzed your query and we have prepared a simple sample with Essential UI Kit's HomePage for your reference. Please find the sample from the below link. 
 
  
Note: You can resolve the reported problem “Argument Null Exception in PopulateList() method of HomePageViewModel” by setting TemplateList.xml BuildAction to EmbeddedResource. Please refer the below screenshot. 
 
Screetshot: 
 
 
Regards, 
Yuvaraj. 


Marked as answer
Loader.
Up arrow icon