Zmieniono sposób numeracji stron, od teraz strona pierwsza to 1, druga to 2 itp.
This commit is contained in:
parent
40be2adfd7
commit
63d9a5f3ca
@ -85,7 +85,7 @@ namespace Magazyn
|
||||
|
||||
private void RefreshListOfFruits()
|
||||
{
|
||||
pageBlock.Text = page.ToString();
|
||||
pageBlock.Text = (page+1).ToString();
|
||||
|
||||
Task<HttpResponseMessage> response = client.GetAsync("https://sysmag.herokuapp.com/api/get-all?page=" + page.ToString() + "&size=" + size.ToString());
|
||||
while (response.IsCompleted != true) ;
|
||||
|
Loading…
Reference in New Issue
Block a user