public void AddRefreshControl() { _customRefreshControl = new CustomRefreshControl(); this.RefreshControl = _customRefreshControl; _customRefreshControl.AddImage(UIImage.FromBundle("loading-indicator")); _customRefreshControl.ValueChanged += (s, e) => { ValueChanged?.Invoke(s, e); }; }
public void AddRefreshControl() { CustomRefreshControl = new CustomRefreshControl(); CustomRefreshControl.AddImage(UIImage.FromBundle("loading-indicator")); this.RefreshControl = CustomRefreshControl; }