public Delegate(UITableViewController aController, IHelper aHelper, IList <IOptionPage> aOptionPages, string aManualUri, UIImage aImageIcon, OptionPageAbout aOptionPageAbout) { iController = aController; iHelper = aHelper; iOptionPages = aOptionPages; iImageIcon = aImageIcon; iOptionPageAbout = aOptionPageAbout; iAlertViewDelegate = new AlertViewDelegate(aManualUri); }
public void Initialize() { _saveCount = 0; _newFeedCount = 0; Delegate = new AlertViewDelegate(this); AddButton("Stop"); Title = "Getting the latest feeds\nPlease wait...\n\n"; base.Show(); // Progress bar. _progressView = new UIProgressView(); _progressView.Frame = new RectangleF((Bounds.Width / 2) - 50, 75, 100, 30); _progressView.Progress = 0; _progressView.Alpha = 0f; AddSubview(_progressView); // Activity indicator, which dissapears once the download is complete _activityIndicator = new UIActivityIndicatorView(UIActivityIndicatorViewStyle.White); _activityIndicator.Frame = new RectangleF((Bounds.Width / 2) - 7, 75, 15, 15); _activityIndicator.StartAnimating(); AddSubview(_activityIndicator); }
public void Initialize() { _saveCount = 0; _newFeedCount = 0; Delegate = new AlertViewDelegate(this); AddButton("Stop"); Title = "Getting the latest feeds\nPlease wait...\n\n"; base.Show(); // Progress bar. _progressView = new UIProgressView(); _progressView.Frame = new RectangleF((Bounds.Width / 2) - 50, 75, 100, 30); _progressView.Progress = 0; _progressView.Alpha = 0f; AddSubview(_progressView); // Activity indicator, which dissapears once the download is complete _activityIndicator = new UIActivityIndicatorView(UIActivityIndicatorViewStyle.White); _activityIndicator.Frame = new RectangleF((Bounds.Width / 2) -7, 75, 15, 15); _activityIndicator.StartAnimating(); AddSubview(_activityIndicator); }