Last Updated: 24 Jun 2022 10:40 by Martin
Created on: 24 Jun 2022 10:40
Category: ListView
Type: Bug Report
ListView: Cells are not measured correctly in custom scenario

On Android when adding new item to the ListView which is RadExpander with RadListView inside it, and when removing and adding item with different length the cell is not measured correctly. 

On iOS the ListView cell are not automatically sized. one height for cell is used

On UWP when adding the second item the app crashes with "System.ArgumentException: An item with the same key has already been added. Key: SDKBrowser.Examples.ListViewControl.GettingStartedCategory.GettingStartedExample.Product\r\n   at System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException(Object key)\r\n   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)\r\n   at Telerik.UI.Xaml.Controls.Data.ListView.Model.BaseLayoutStrategy.RecycleLocally()\r\n   at Telerik.UI.Xaml.Controls.Data.ListView.Model.BaseLayout"