The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

IndexNormalizer Class


takes a batch of updates in their natural order (i.e. the order they occurred in the client code) and normalizes them to something iOS can consume when performing batch updates to a table or collection view iOS requires that all deletes be specified first with indexes relative to the source data *before* any insertions are applied it then requires insertions be specified next relative to the source data *after* any deletions are applied this code also de-duplicates as necessary. The simplest possible scenario for this is adding and immediately deleting an item. iOS should never even be told about this set of updates because they cancel each other out.
Base Types
  • object
graph BT Type-->Base0["object"] Type["IndexNormalizer"] class Type type-node


public static class IndexNormalizer


Name Value Summary
Normalize(IEnumerable<Update>) IList<Update?>
Normalizes the specified updates.

Extension Methods

Name Value Summary
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.