示例#1
0
 public FullProfileView(string name) : base(UITableViewStyle.Grouped, null, true)
 {
     user = User.FromName(name);
     if (user == null)
     {
         User.FetchUser(name, u => ProcessUserReturn(u));
     }
     else
     {
         CreateUI();
     }
 }
示例#2
0
 public FullProfileView(long id) : base(UITableViewStyle.Grouped, null, true)
 {
     user = User.FromId(id);
     if (user == null)
     {
         User.FetchUser(id, u => ProcessUserReturn(u));
     }
     else
     {
         CreateUI();
     }
 }
示例#3
0
        public StreamedViewController(string title, string url, User reference) : base(true)
        {
            this.url = url;

            this.StreamedTitle = title;
            this.ReferenceUser = reference;

            this.NavigationItem.Title = title;
            EnableSearch = true;

            if (reference != null && reference.Id > ImageStore.TempStartId)
            {
                User.FetchUser(reference.Screenname, u => UserUpdated(u));
            }
        }