develop #10
@ -309,7 +309,7 @@ namespace Klient.Droid
|
|||||||
List<string> history = JsonConvert.DeserializeObject<List<string>>(jsonObject.history);
|
List<string> history = JsonConvert.DeserializeObject<List<string>>(jsonObject.history);
|
||||||
|
|
||||||
int temp;
|
int temp;
|
||||||
for(int i=0; i<10; i++)
|
for (int i = 0; i < 10; i++)
|
||||||
{
|
{
|
||||||
temp = i + 1;
|
temp = i + 1;
|
||||||
FindViewById<TextView>(Resource.Id.history).Text = FindViewById<TextView>(Resource.Id.history).Text + "\n" + temp + ". " + history[i];
|
FindViewById<TextView>(Resource.Id.history).Text = FindViewById<TextView>(Resource.Id.history).Text + "\n" + temp + ". " + history[i];
|
||||||
@ -320,4 +320,5 @@ namespace Klient.Droid
|
|||||||
FindViewById<TextView>(Resource.Id.history).Text = "Coś poszło nie tak!";
|
FindViewById<TextView>(Resource.Id.history).Text = "Coś poszło nie tak!";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user