protected async override void OnAppearing() //data appearing when screen shows { base.OnAppearing(); user = Application.Current.Properties[CommonSettings.GLOBAL_USER] as User; List <FriendViewModel> friends = await friendController.getAllFriendsInfo(user.userId); friendsListView.ItemsSource = friends; }