Telerik xamarin radlistview error

1 Answer 39 Views
ListView - Xamarin.Android
Coopbase
Top achievements
Rank 2
Iron
Iron
Coopbase asked on 07 Dec 2021, 06:24 AM

Hi!

Content pages that use RadListView will throw

System.TypeLoadException: 'VTable setup of type Telerik.XamarinForms.DataControlsRenderer.Android.ListViewAccessibilityDelegateCompat failed'

 

This is the code i added in my xaml.

     <telerikDataControls:RadListView x:Name="listview" ItemsSource="{Binding Users}">
                <telerikDataControls:RadListView.ItemTemplate>
                    <DataTemplate>
                        <telerikListView:ListViewTemplateCell>
                            <telerikListView:ListViewTemplateCell.View>
                                <StackLayout>
                                    <Label Text="{Binding First_name}"/>
                                </StackLayout>
                            </telerikListView:ListViewTemplateCell.View>
                        </telerikListView:ListViewTemplateCell>
                    </DataTemplate>
                </telerikDataControls:RadListView.ItemTemplate>
            </telerikDataControls:RadListView>

How can i fix this problem?

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 07 Dec 2021, 01:17 PM

Hello 

This issue is fixed and a fix for it was introduced in Telerik UI for Xamarin version 2021.2.728.1. All versions above contain the fix. When using Telerik UI for Xamarin, the minimum required version of Xamarin.Forms is 5.0.0.2083. Please check whether the latest version of Telerik UI for Xamarin is used in the project. If not please update it. Also the AndroidX.Core version must be 1.3.2.2. or higher. and all AndroidX related packages versions which depend on AndroidX.Core must be updated to match this requirement. 

Regards,
Didi
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
ListView - Xamarin.Android
Asked by
Coopbase
Top achievements
Rank 2
Iron
Iron
Answers by
Didi
Telerik team
Share this question
or