Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Xamarin android Spinner data from web api

$
0
0

How to do this, i'm new to xamarin, i would like xamarin.
my web api server like.

entity

public class Departments
{
public string Id { get; set; }
public string Name { get; set; }
}

and api server return

[
{
"Id": "BLD",
"Name": "Room1 "
},
{
"Id": "xas",
"Name": "Room2"
},
{
"Id": "DTH",
"Name": "Room3"
},
{
"Id": "qas",
"Name": "Room 4"
},
]

how to add this data to spinner, thanks all


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>