simplify management of list and grid views and keep only one kind
ClosedPublic

Authored by mgallien on Jun 12 2019, 8:16 PM.

Details

Summary

Factor all list views into a single one to decrease duplicated code.

fix display of single album list view

we now have a list and a grid generic view

DataListView is the new generic list view

Next one will be the file manager view.

Test Plan

tests are OK and manual testing shows no regressions.

Diff Detail

Repository
R255 Elisa
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mgallien requested review of this revision.Jun 12 2019, 8:16 PM
mgallien created this revision.
ngraham accepted this revision.Jun 13 2019, 8:18 PM
ngraham added a subscriber: ngraham.

Code change looks sane, and I also can detect no regressions!

This revision is now accepted and ready to land.Jun 13 2019, 8:18 PM
This revision was automatically updated to reflect the committed changes.

This broke sorting in the album view (titles are now sorted, not track numbers)
Handling of multiple discs per album is also broken, but that seems not to be caused by this diff

This broke sorting in the album view (titles are now sorted, not track numbers)

Yes, I have noticed it also. I will take care of it.

Handling of multiple discs per album is also broken, but that seems not to be caused by this diff

Yes, I can confirm it. I will take care of it.