UIKit.UITableView.ReloadRows Method
Reloads specific rows with the given animation effect.

Syntax

[Foundation.Export("reloadRowsAtIndexPaths:withRowAnimation:")]
public virtual void ReloadRows (Foundation.NSIndexPath[] atIndexPaths, UITableViewRowAnimation withRowAnimation)

Parameters

atIndexPaths
An array of Foundation.NSIndexPath objects that indicate which rows to reload.
withRowAnimation
The type of animation to use. The animation chosen affects both the way the old cell is animated out as well as how the new cell is animated into view.

Remarks

Reloading a row means the data source is asked for a new cell for that row, which the table animates into place (animating the old cell off screen). Use this method to alert the user that the value of the cell is changing. If notifying the user is not important simply get the cell for a particular row and update its value.

When this method is called within a UITableView.BeginUpdates-UITableView.EndUpdates animation block it behaves like UITableView.DeleteRows(Foundation.NSIndexPath[], UITableViewRowAnimation) - the indexes passed to the method are specified in the state of the table view prior to any updates. This happens regardless of the order of the insertion, deletion and reloading method calls within the animation block.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0