How can I make GetDataFromOdataService bind to controller listview.itemsource?

Raniel_QuiranteRaniel_Quirante Member ✭✭
edited June 2018 in General

I really have no idea how to use Simple.OData.Client to be the itemsource for my listview... Basically my plan is to get the data from the odata, then put that data into an observablecollection in order to databind it to listview at least... please help me... I don't know the right syntax to achieve what I am trying to do...

public Home ()
        {
            InitializeComponent ();
            GetDataFromOdataService();             
        }

 public Task<Packages> GetDataFromOdataService()
        {
            var packages = client
              .For<Packages>()
              .FindEntriesAsync();
            return null;
        }
Sign In or Register to comment.