Dimibe / grouped_list

A Flutter ListView in which items can be grouped into sections.
https://pub.dev/packages/grouped_list
MIT License
391 stars 107 forks source link

ItemComparator function doesn't work if you set groupComparator function #180

Open willianbrun opened 1 year ago

willianbrun commented 1 year ago

Description I was setting the groupComparator function, to separate my elements by date, and also setting the ItemComparator function, to sort it inside each group (by date too), but the itemComparator function was not working, in fact, the code isn't even executed.

Expected behavior ItemComparator function sort the elements inside the group previously sorted.

Workaround Set only the itemComparator function, and so, order group by ASC/DESC.

Captura de Tela 2023-05-04 às 16 50 09

Information:

booooohdan commented 5 months ago

@Dimibe any updates? Also, I noticed, that you made a lot of changes, but the latest release was 20 months ago. Can you release a new version, please?

Знімок екрана 2024-02-14 о 03 38 02