public override FGUtil.FGRefreshView RefreshView(MonoTouch.UIKit.UITableView tableView) { FGRefreshView refreshView = new FGRefreshView(tableView) { ActivityIndicatorStyle = UIActivityIndicatorViewStyle.Gray, FontColor = UIColor.LightGray }; return refreshView; }
public override FGUtil.FGRefreshView RefreshView(UIScrollView scrollView) { FGRefreshView refreshView = new FGRefreshView(scrollView) { ActivityIndicatorStyle = UIActivityIndicatorViewStyle.Gray, FontColor = UIColor.LightGray, Orientation = FGRefreshViewOrientation.Horizontal }; return refreshView; }
private void ConfigRefreshView() { if (RefreshEnabled) { if (_refreshView == null) _refreshView = Source.RefreshView (this); if (_refreshView.Superview == null) this.AddSubview (_refreshView); } else { if (_refreshView != null && _refreshView.Superview != null) _refreshView.RemoveFromSuperview(); } }