Forum Libraries, Components, and Plugins


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Retrieving listview datas issue on Xamarin.Forms


To be quick, I have a listview with datas that I get from rest API and an entry, works fine, displays well. The user is supposed to type in the entry.
On the bottom of this listview, I have a button "accept", and with this button, im supposed to retrieve evevry object of the listview.

I've been searching but I can't find anything or maybe im not searching the right way.

Thanks for help!!


  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭
    Do you use Binding? You should have an observablecollection already updated with your data
  • LandLuLandLu Member, Xamarin Team Xamurai

    @Eskyl You retrieved data from rest API so I guess you must have stored it as your list view's items source.
    If you bind your Entry's text to your single data model with TwoWay Mode the entry's changing will affect your original data.
    Then when you want to upload the modification you can retrieve the data through the list view's items source.
    Get lt like: listView.ItemsSource as List<T>;

Sign In or Register to comment.