public override void ViewDidLoad()
		{
			base.ViewDidLoad();

			todoService = TodoService.DefaultService;

			todoService.BusyUpdate += (bool busy) => {
				if (busy)
					activityIndicator.StartAnimating();
				else 
					activityIndicator.StopAnimating();
			};

            AddRefreshControl();            		
		}
Пример #2
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            todoService = TodoService.DefaultService;

            todoService.BusyUpdate += (bool busy) => {
                if (busy)
                {
                    activityIndicator.StartAnimating();
                }
                else
                {
                    activityIndicator.StopAnimating();
                }
            };

            AddRefreshControl();
        }