public async void LoadUserList(string token) { indicator.StartIndicator(); Menue.Clear(); var userList = await userDetailsServices.GetFriendsList(token); FriendListResponseModel friendResponsModel = JsonConvert.DeserializeObject <FriendListResponseModel>(userList); if (friendResponsModel.status.Equals("ok")) { if (!friendResponsModel.services.Any()) { IsEmptyList = true; } else { foreach (var user in friendResponsModel.services) { menue.Add(new Service() { USERNAME = user.USERNAME, PICTURE_URL = user.PICTURE_URL }); } IsEmptyList = false; } } indicator.EndIndicator(); }