pub fn grouping_sections<T, K, F>(
model: &ListModel<T>,
key_fn: F,
) -> GroupingSectionsExpand description
Build a SectionProvider by grouping consecutive items of model that
share a key_fn value into one section, titled by the key. The model is
not sorted — callers should pre-sort if they want fully-grouped sections.