UICollectionView binding is probably the most used feature of Boomerang.
UICollection view binding should expose something like configure(with viewModel: ListViewModelType) that:
reloads the collection on data changes
updates the collection on partial data updates
handles normal and supplementary cells (one normal cell per IndexPath + an indefinite number of supplementary cells for the same IndexPath, each one identified by a kind string
handles cell's sorting with related animation
provides some mechanism of auto-sizing for cells (and supplementary cells) that can inflate a placeholder cell with a contents from a view model and returns cell size
UICollectionView
binding is probably the most used feature of Boomerang.UICollection view binding should expose something like
configure(with viewModel: ListViewModelType)
that:IndexPath
+ an indefinite number of supplementary cells for the sameIndexPath
, each one identified by akind
string