You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
Also experiencing this on upgrade from 4.8.0.1687 -> 5.0.0.1931
Stacktrace from this rep project for people confirming if this is happening to them
Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: Invalid update: invalid number of sections. The number of sections contained in the collection view after the update (2) must be equal to the number of sections contained in the collection view before the update (2), plus or minus the number of sections inserted or deleted (1 inserted, 0 deleted).
Native stack trace:
0 CoreFoundation 0x00007fff20420af6 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff20177e78 objc_exception_throw + 48
2 CoreFoundation 0x00007fff2042091f +[NSException raise:format:] + 0
3 Foundation 0x00007fff2077056a -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 191
4 UIKitCore 0x00007fff23d8cf41 -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:collectionViewAnimator:] + 15876
5 UIKitCore 0x00007fff23d8912c -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:] + 60
6 UIKitCore 0x00007fff23d8871a -[UICollectionView _updateSections:updateAction:] + 454
7 UIKitCore 0x00007fff23d887ea -[UICollectionView insertSections:] + 64
8 ObservableCollectionView.iOS 0x000000010b4e9839 xamarin_dyn_objc_msgSend + 217
9 ??? 0x0000000112418490 0x0 + 4601250960
Hi, @jantanis - thanks for submitting this issue. I confirm that I'm able to reproduce it - while I see the CV on XF 4.8.0.1687, I don't see it on XF 4.8.0.1821 and up. And on some occasions I see the same Foundation.MonoTouchException@fraedom-lkwong shared, with the described crash which follows.
Description
When upgrading my XF project from 4.8.0.1821 to XF 5 I found this code crashing. I pinned it down to the 4.8.0.1821 version.
Steps to Reproduce
Expected Behavior
Able to switch IsGrouped dynamically
Actual Behavior
App crashes
Basic Information
Environment
Show/Hide Visual Studio info
Reproduction Link
ObservableCollectionView.zip
The text was updated successfully, but these errors were encountered: