/// <summary>
/// Invoke this method to signal that a reload has completed, this will update the UI accordingly.
/// </summary>
public void ReloadComplete()
{
if (refreshView != null)
{
refreshView.LastUpdate = DateTime.Now;
}
if (!reloading)
{
return;
}
reloading = false;
if (refreshView == null)
{
return;
}
refreshView.SetActivity(false);
refreshView.Flip(false);
UIView.BeginAnimations("doneReloading");
UIView.SetAnimationDuration(0.3f);
TableView.ContentInset = new UIEdgeInsets(0, 0, 0, 0);
refreshView.SetStatus(RefreshViewStatus.PullToReload);
UIView.CommitAnimations();
}