Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void ParseAndDisplay(JsonValue json)
- {
- dynamic teamData = json["teams"];
- //TextView name = FindViewById<TextView>(Resource.Id.txtName);
- string[] teams;
- foreach (var team in teamData)
- {
- var name = team["name"];
- Console.Out.WriteLine("rn {0}", name);
- teams = new string[] { name };
- //TextView name = FindViewById<TextView>(Resource.Id.txtName);
- //name.Text = team["name"];
- ListAdapter = new ArrayAdapter<String>(this, Android.Resource.Layout.SimpleListItem1, teams);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement