This is a migrated thread and some comments may be shown as answers.
OK to use DataSource in Xamarin.Forms Project with Listview?
1 Answer 15 Views
This is a migrated thread and some comments may be shown as answers.
Riaz
Top achievements
Rank 1
Riaz asked on 22 Apr 2017, 11:56 PM

I intend to use a "ListView" control with the "DataSource" control in a Xamarin.Forms project to save time with loading/sorting, and this comment on you site (http://www.telerik.com/xamarin-ui/listview) seems to say that's supported/possible:

"To simplify the data consumption and data shaping, the ListView for Xamarin.Forms is integrated internally with Telerik DataSource for iOS and Android. The DataSource control serves as an intermediary between the raw data to be displayed and the UI component."

 

But on the bottom of this page (http://www.telerik.com/xamarin-ui/datasource) the table says that you *can't* use a DataSource in a Xamarin.Forms project 

Which one is correct? Or am I misunderstanding something?

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Lance | Manager Technical Support
Telerik team
answered on 24 Apr 2017, 05:23 PM
Hi Riaz,

The RadListView is already using the DataSource component internally, adding a 2nd one is not supported.

You can see the data operations you want under the "Features" section in the RadListView documentation:




Those are the operations from the internal DataSource component, surfaced through the RadListView API.

Also to be clear, the DataSource component is not available in Xamarin Forms because it's already integrated into the controls. The only time the DataForm is available is if you were building Xamarin.Android or Xamairn.IOS specific projects.

You can see all the UI for Xamarin Cross Platform components here, under the Controls folder.

Regards,
Lance | Tech Support Engineer, Sr.
Telerik by Progress
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? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Asked by
Riaz
Top achievements
Rank 1
Answers by
Lance | Manager Technical Support
Telerik team
Share this question
or