-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[CollectionView/ListView] Not listening for Reset command #5793
Comments
Not sure if https://github.com/jamesmontemagno/mvvm-helpers Looks like there is an internal |
The same issue with |
I get the following error while using ObservableCollection with CollectionView
|
@pfedotovsky This error usually happens (on iOS) when items are NOT being added to the underlying adapter/data source on the main thread. |
Seems to work just fine on Android, which is interesting...... |
Oh, I see what y'all are talking about now. Yes, Android does a NotifyDataSetChanged on Reset. Looks like I forgot to call ReloadData on iOS. Fix incoming ... |
This issue still existed. Could you check again please ? |
@Thanghand Which version of Forms are you using? |
I am also still having this issue with a collection view. I am using Xamarin.Forms 4.1.0.581479. Initially the observable collection is empty, then when new data arrives I call Clear and then add the new items. I have also tried initialising the collection with some items and then calling reset with new items. The initial items display correctly but the new items cause the same error. Here is an Example Repo. EDIT1: I have tested using the latest pre-release currently available (4.2.0.608146-pre1) and the issue still persists. |
Also testing on the latest preview (due to bug in stable for android) and I have the same issue in ios now |
It's still happening on 4.7.0.1080(latest). |
It's still happening on 4.8.0.1687. |
Description
See issue: jamesmontemagno/mvvm-helpers#39
Basic Information
Xamarin.Forms 3.6.0.264807
Visual Studio 2017 Version 15.9.10
Platforms:
iOS Simulator with iOS 12.1 (iPhone SE)
Reproduction Link
https://github.com/xamadev/ObservableRangeCollectionError
The text was updated successfully, but these errors were encountered: