That code looks like it came from the Xamarin.Forms documentation. UI for Xamarin is primarily a Xamarin.Forms
product, however we do have native versions of many of the controls that you can use on a non-Forms application. These native controls are the controls that eventually get rendered by the Xamarin.Forms PCL (via Custom Renderers)
RadListView is one of those controls available using the native assemblies. We have the native Xamarin.iOS TKListView
and the Xamarin.Android RadListView
First, let me answer your question so that you can have some context, and then I'll show you where you can find the help to use the Android native RadListView
That code is intended for use in a Xamarin.Forms ContentPage, where you can add the UI for Xamarin Xamarin.Forms RadListView
to the ContentPage by doing the following:
<!-- XamarinForms XAML -->
MainPage : ContentPage
// RadListView creation
// Set the ContentPage content with RadListView
.Content = listView;
As I initially stated, it appears you want to use the native RadListView directly in a Xamarin.Android application. For this, you need to use the android control directly. You can follow the native control's documentation here
to get started.
You can find examples installed alongside UI for Xamarin, go here to learn where to find all the demos
. In particular, you'll likely want these ones: C:\Program Files (x86)\Progress\Telerik UI for Xamarin R3 2017\Examples\Android
If you have any further questions, you can open a support ticket here
for direct support from the UI for Xamarin support team.
Lance | Tech Support Engineer, Sr.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items