Hi,
On Android, I am using a DataTemplateSelector and a DataTemplate that has a switch on it that the user can press. When the user presses the switch the ListView starts corrupting the data in the list. The item being interacting with starts appearing in other locations on the list.
This issue can be reproduced in the Telerik SDKBrowser project.
Select the following : ListView -> Cell Types -> Template Cell Selector - Xaml
Mark Item1 as special using the button. Scroll down and you will see that an item in the list has been replaced by Item 1 which is now in the list twice.
Regards
Anthony
If you have a more complex HeaderTemplate containing input controls, each button placed after a certain position does not fire its Click event. If a button is placed at the top of the template, it functions properly.
ListViewLoadOnDemandCollection method is not triggering in iOS automatically when there is a need to display the items on the screen. We have to manually scroll the list view then the ListViewLoadOnDemandCollection triggers and give further data to show.
Things are working fine on Android platform.
Changing a property on an item that is involved with grouping and sorting and then removing and re-adding the item to the collection results in the list being in an invalid state (e.g. duplicate items, incorrect template, etc.)
Error message can be reproduced on iPhone 11 Simulator iOS 13.6
[UICollectionView] Invalid update: invalid number of items in section 0. The number of items contained in an existing section after the update (4) must be equal to the number of items contained in that section before the update (4), plus or minus the number of items inserted or deleted from that section (1 inserted, 0 deleted) and plus or minus the number of items moved into or out of that section (0 moved in, 0 moved out). - will perform reloadData. UICollectionView instance: <TKCollectionView: 0x7f8525b86600; baseClass = UICollectionView; frame = (0 0; 414 725); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x600001232bb0>; layer = <CALayer: 0x6000019b0520>; contentOffset: {0, 0}; contentSize: {414, 453}; adjustedContentInset: {0, 0, 0, 0}; layout: <TKListViewLinearLayout: 0x7f8524f5e400>; dataSource: <Telerik_XamarinForms_DataControlsRenderer_iOS_TKExtendedListView: 0x7f8524f5b590; frame = (0 0; 414 725); layer =
<CALayer: 0x6000019b03a0>>>; currentUpdate: [UICollectionViewUpdate - 0x7f8526897fc0: old:<UICollectionViewData: 0x6000025f4000> new<UICollectionViewData: 0x6000025f47e0> items:<(
"I(0,3)"
)>]
After I updated to `2021.1216.1-hotfix` (to solve this problem in Android and Google Material) the RadListView's LoadOnDemand automatic stopped working
Workaround:
I've had to downgrade Xamarin.Google.Android.Material to v1.1.0.5 and use the latest stable release of Telerik UI v2021.1.119.1 which restored the functionality.
Available in minor release 2018.3.1109. It will also be available in the R1 2019 release.
Available in minor release 2018.3.1109. It will also be available in the R1 2019 release.
Add support for GroupKey of ListView to be complex object, allowing to display more complex information in the group headers. Available in the R2 2018 release.
Expose events for the Items reorder API