public override void ViewWillAppear(bool animated) { base.ViewWillAppear(animated); IsVisible = true; // populate our table PortraitSource = new PortraitTableSource(this, News, ImagePlaceholder); NewsTableView.BackgroundColor = Rock.Mobile.UI.Util.GetUIColor(ControlStylingConfig.BackgroundColor); NewsTableView.SeparatorStyle = UITableViewCellSeparatorStyle.None; LoadAndDownloadImages( ); }
public override void ViewWillAppear(bool animated) { base.ViewWillAppear(animated); IsVisible = true; // populate our table LandscapeSource = new LandscapeTableSource( this, News, ImagePlaceholder, HeaderImagePlaceholder ); PortraitSource = new PortraitTableSource( this, News, ImagePlaceholder ); NewsTableView.BackgroundColor = Rock.Mobile.UI.Util.GetUIColor( ControlStylingConfig.BackgroundColor ); NewsTableView.SeparatorStyle = UITableViewCellSeparatorStyle.None; LoadAndDownloadImages( ); }