Unplanned
Last Updated: 13 Feb 2024 12:22 by Amitesh
NSInternalInconsistencyException Reason: Invalid batch updates detected error is thrown in the ListView if you update the ItemsSource (clear it and add new items) simultaneously  ( from separate threads, by receiving messages through MessagingCenter)
Unplanned
Last Updated: 13 Feb 2024 11:48 by Amitesh

If the ListView ItemTemplate contains more elements and you try to load more items (>15 items), there is a crash on iOS related to layout arrangements.

To workaround the issue, set explicitly ItemLength:

<telerikDataControls:RadListView.LayoutDefinition>
       <telerikListView:ListViewLinearLayout ItemLength="400" />
</telerikDataControls:RadListView.LayoutDefinition>

Declined
Last Updated: 31 Jan 2024 09:22 by ADMIN
Created by: Robert
Comments: 12
Category: ListView
Type: Bug Report
0

This is from our production app. Cannot reproduce it, don't know exactly when or why it happens; we just have crashes logged to have happened to 9 users in the past year with a total of 30 occurences.

These are unhandled UWP exceptions, which mean that our app goes poof :)

System.ArgumentException: Value does not fall within the expected range at
System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException(Object) + 0xf     at
Telerik.UI.Xaml.Controls.Data.ListView.Model.BaseLayoutStrategy.RecycleLocally() + 0x320     at Telerik.UI.Xaml.Controls.Data.ListView.Model.BaseLayoutStrategy.MeasureContent(RadSize, Double, Double) + 0xd     at Telerik.UI.Xaml.Controls.Data.ListView.Model.LayoutController.MeasureVertical(RadSize) + 0x1b9     at Telerik.UI.Xaml.Controls.Data.ListView.Model.LayoutController.MeasureContent(RadSize) + 0x42     at Telerik.UI.Xaml.Controls.Data.ListViewModel.MeasureContent(RadSize) + 0x2e     at Telerik.UI.Xaml.Controls.Data.RadListView.OnContentPanelMeasure(RadSize) + 0x17f     at Telerik.UI.Xaml.Controls.Data.ListView.ListViewPanel.MeasureOverride(Size) + 0x60     at Windows.UI.Xaml.FrameworkElement.global::Windows.UI.Xaml.IFrameworkElementOverrides.MeasureOverride(Size) + 0x26

 

System.ArgumentException: An item with the same key has already been added    at
System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException(Object) + 0xf     at Telerik.UI.Xaml.Controls.Data.ListView.Model.BaseLayoutStrategy.RecycleLocally() + 0x320     at Telerik.UI.Xaml.Controls.Data.ListView.Model.BaseLayoutStrategy.MeasureContent(RadSize, Double, Double) + 0xd     at Telerik.UI.Xaml.Controls.Data.ListView.Model.LayoutController.MeasureVertical(RadSize) + 0x1b9     at Telerik.UI.Xaml.Controls.Data.ListView.Model.LayoutController.MeasureContent(RadSize) + 0x42     at Telerik.UI.Xaml.Controls.Data.ListViewModel.MeasureContent(RadSize) + 0x2e     at Telerik.UI.Xaml.Controls.Data.RadListView.OnContentPanelMeasure(RadSize) + 0x17f     at Telerik.UI.Xaml.Controls.Data.ListView.ListViewPanel.MeasureOverride(Size) + 0x60     at Windows.UI.Xaml.FrameworkElement.global::Windows.UI.Xaml.IFrameworkElementOverrides.MeasureOverride(Size) + 0x26

Declined
Last Updated: 31 Jan 2024 09:21 by ADMIN
I don't know how to describe it other than what  I put in the subject, but the list view jumps back to the top when more items are added to the ObservableCollection. Either that or a MonoTouchException gets thrown.
Completed
Last Updated: 31 Jan 2024 08:57 by ADMIN
Release 2024 Q1
The exception is easily reproducible in SDK Browser on iOS. Start the LoadOnDemandCommand or LoadOnDemandEvent example to see the exception. The LoadOnDemandCollection seems to work correctly, however.

The ListViewLoadOnDemandCollection can be used instead of the command/event as a temporary workaround, until the bug gets fixed.
Unplanned
Last Updated: 21 Nov 2023 12:28 by Slava
In my item tapped command I find the tapped object in the bound list, and set one of its flags. The problem occurs when the set triggers the OnPropertyChanged event of one of those flags, and then the app crashes.
Completed
Last Updated: 20 Sep 2023 08:44 by ADMIN
Release R2 2023 SP1
MonoTouchException is thrown when using LoadOnDemand with ListViewLoadOnDemandCollection on iOS 16.
Completed
Last Updated: 19 Jul 2023 14:24 by ADMIN
Release R2 2023 SP1

Exception occurs when there are no items in the collection and load on demand mode is automatic: 

public ViewModel()
{
    this.Source = new ObservableCollection<string>();
    //for (int i = 0; i < 14; i++)
    //{
    //    this.Source.Add(string.Format("Item {0}", i));
    //}
    this.LoadItemsCommand = new Command(this.LoadItemsCommandExecute);
}

Completed
Last Updated: 19 Jul 2023 14:24 by ADMIN
Release R2 2023 SP1
Null Reference Exception is thrown when the ListView is initially grouped and navigating back to page where is the ListView and new RangeCollection is assigned to the control.
Completed
Last Updated: 19 Jul 2023 14:23 by ADMIN
Release R2 2023 SP1
The ListView items are not rendered correctly when manual load on demand is used.
Unplanned
Last Updated: 13 Jul 2023 15:04 by ADMIN
Created by: Will Ngo
Comments: 1
Category: ListView
Type: Bug Report
0

Go to QSF ListView->selection example 
1. Select the 2nd row and swiped it to the left
2. While the row above is still in the left-swiped mode with its red delete button still visible, click on a DIFFERENT  row (say the 3rd row) AND scroll the ListView.

Video attached. 

 

Unplanned
Last Updated: 02 Mar 2023 14:27 by James
Created by: James
Comments: 0
Category: ListView
Type: Bug Report
3
when using the ItemHold event and command. The event is not fired and the command is not executed
Unplanned
Last Updated: 12 Jan 2023 13:24 by Prasanth

When Group Header template is used and the visibility of an element in the template is changed, the template does not recreate as expected. 

For example add entry /editor in the template and change its visibility

On iOS the editor/entry overlaps the group header and cannot type in it.

On UWP : The editor is visualized as expected but then we change its visibility to false, the space for the editor is still visible. The group header does not layout as expected.

Solution:

You have to collapse/expand the group header so the template in the group header to layout as expected

Unplanned
Last Updated: 26 Dec 2022 11:12 by Prasanth
There is a slow performance when scrolling, expand/collapse items when the ListView Groups are sticky and GroupHeaderTemplate is used. 

Workaround
1. Set IsGroupHeaderStickty to false. 

or

2. Use the default group header template
Completed
Last Updated: 09 Nov 2022 15:50 by ADMIN
Release R3 2022 SP1
Null Reference Exception is thrown when the ListView is initially grouped with more than 1 group descriptor and then the control is populated using Range Observable collection. 
Completed
Last Updated: 28 Oct 2022 05:58 by ADMIN
Release R3 2022.3.1026

With iOS 16 some changes are introduced to the UICollectionView. This breaks the layout of the ListView with dynamically sized items.

Unplanned
Last Updated: 27 Sep 2022 05:17 by ADMIN

when we try to add a dynamic AutomationId in each item of the list (something like AutomationId="{Binding Id}"), the AutomationId is not provided to the elements we see in the appium inspector. 

Works with fixed values

Unplanned
Last Updated: 23 Sep 2022 16:43 by Robin

When adding swipe content, it block the button to be clicked when the items in the cell matches the swipe offset value, 

a. reduce the swipe offset.
b. place the minus button further to the left, so the button width to match the ListView swipe offset

Sample setup:

<telerikDataControls:RadListView x:Name="listView"
                                    IsItemSwipeEnabled="True"
                                    SwipeOffset="90, 0, 0, 0"
                                    SwipeThreshold="20"
                                    ItemsSource="{Binding Source}"
                                    SelectionMode="None">
    <telerikDataControls:RadListView.ItemTemplate>
        <DataTemplate>
            <listView:ListViewTemplateCell>
                <listView:ListViewTemplateCell.View>
                    <Grid ColumnDefinitions="*,90">
                        <!--  >> changed second row to 90 pixels, which is swipe offset  -->
                        <Label
                            FontAttributes="Bold"
                            FontSize="16"
                            Text="{Binding Sender}"
                            TextColor="Black" />
                        <StackLayout Grid.Column="1" 
                                        Orientation="Horizontal">
                            <Button
                                Clicked="Button_Clicked_1"
                                Text="+++"
                                TextColor="Gray" />
                            <Button
                                Clicked="Button_Clicked"
                                Text="---" />
                        </StackLayout>

                    </Grid>
                </listView:ListViewTemplateCell.View>
            </listView:ListViewTemplateCell>
        </DataTemplate>
    </telerikDataControls:RadListView.ItemTemplate>
    <telerikDataControls:RadListView.ItemSwipeContentTemplate>
            <DataTemplate>
                <Grid
                            Margin="0"
                            Padding="0"
                            ColumnSpacing="0"
                            RowSpacing="0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="90" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                    <telerikInput:RadButton
                                Grid.Column="0"
                                Margin="0"
                                BackgroundColor="Red"
                        Clicked="RadButton_Clicked"
                                FontFamily="FontAwesomeSolid"
                                FontSize="Medium"
                                Text="&#xf1f8;"
                                WidthRequest="90" />
                </Grid>
        </DataTemplate>
    </telerikDataControls:RadListView.ItemSwipeContentTemplate>
</telerikDataControls:RadListView>

Unplanned
Last Updated: 30 Aug 2022 13:02 by Vladyslav
System.ObjectDisposedException:** 'Cannot access a disposed object.
Object name: 'Telerik.XamarinForms.DataControlsRenderer.Android.RadListViewDataSourceAdapter'.'

is thrown when navigating to another view using ListView SelectedItem and removing the view where the ListView is placed. 

Workaround:

Instead of removing the view, change the view visibility.

Unplanned
Last Updated: 24 Jun 2022 10:40 by Martin

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"

1 2 3 4 5 6