Exemplo n.º 1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            try {
                //Init DB
                userDB.CreateTable();

                //Init for the first Launch - populate data - mock
                lstUsers = new List <User>
                {
                    new User("johndoe", "john", "Doe", "123abc")
                };

                userTableView.Source             = new UserTableViewSource(lstUsers);
                userTableView.RowHeight          = UITableView.AutomaticDimension;
                userTableView.EstimatedRowHeight = 60f;
                userTableView.ReloadData();
            }catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }