Closed FabioBot-sys closed 2 years ago
https://github.com/roubachof/Sharpnado.CollectionView#initialization
I also suggest you to use the TaskLoaderView instead of StateLayout. It is specialized for view model loading.
I have correctly initilized the nuget package, the problem is showing after initialization. I already think of using TaskLoaderView instead of StateLayout but in a second moment.
Xamarin.Forms.App: Android: iOS:
I see in this moment the line "Initializer.Initilize" in the specified project. I’m sorry I didn’t look. I thought it was a line for another nuget, and I didn’t notice.
Thank you so much for the correction and the immediate response.
Platform:
Describe the bug When i use the Horizontal List View with ObservableCollection, or List, as ItemSource the ListView return a NullReferenceException. I already tried in various implementetion, with CollectionView(Sharpnado, not the standard), but in all implemention i have the same error. If i remove the implementetion of HorizontalListView and insert a CollectionView (standard) the application continue correctly.
To Reproduce Steps to reproduce the behavior: ViewModel:
View:
View.cs:
Exceptions (if applicable)
Screenshots
Do you have any suggestions or corrections? Maybe I’m wrong about the implementation of CollectionView.