private void OpenUserInfoView(AGCUser user) { var storyboard = UIStoryboard.FromName("Main", null); var secondViewController = storyboard.InstantiateViewController("InfoVC"); this.NavigationController?.PushViewController(secondViewController, true); }
private void RefreshView(AGCUser user) { txtName.Text = user?.DisplayName; txtId.Text = user?.Uid; if (currentUser?.PhotoUrl != null) { using (var data = NSData.FromUrl(new NSUrl(currentUser.PhotoUrl))) userImage.Image = UIImage.LoadFromData(data ?? ""); } }
public InfoViewController(AGCUser currentUser) { this.currentUser = currentUser; }