Exemple #1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            View.BackgroundColor = Constants.R250G250B250;
            View.ClipsToBounds   = true;

            LoadData();
            SetBackButton();

            SetupHistoryCollection();

            _loader.ActivityIndicatorViewStyle = UIActivityIndicatorViewStyle.WhiteLarge;
            _loader.HidesWhenStopped           = true;
            _loader.Color = UIColor.Black;

            View.AddSubview(_loader);
            _loader.AutoCenterInSuperview();

            _historyCollection.Add(_refreshControl);
        }