查询 azure table 并使用 xamarin.android 输出

Query azure table and output using xamarin.android

我正在尝试从 Azure 中的 table 中获取项目列表并将其输出。我认为我的查询结构是正确的,但如何将返回的信息显示到列表视图中?

    public async Task GetItems()
    {

        await infoTable.PullAsync( "info", infoTable.CreateQuery().Select(x => x.Information));

        ListView listview = FindViewById<ListView>(Resource.Id.listView1);


    }

将适配器添加到您的列表视图。

如果您的列表项是字符串,请添加此行。

   listview.Adapter = new ArrayAdapter<String>(this, Android.Resource.Layout.SimpleListItem1, items);