muzika icon indicating copy to clipboard operation
muzika copied to clipboard

[perf] Ensure correct usage of `ListView`

Open vixalien opened this issue 5 months ago • 0 comments

The current usage of ListView is problematic, as it essentially loads all elements inline. This is the main reason the app feels very slow.

We should take an approach similar to Spot, as explained here: https://discourse.gnome.org/t/a-listview-with-a-header-and-footer/19234

Even pages like Library Songs, Library etc... have a Paginator and sort box at the top, we should possibly add those in the Adw.ToolbarView and as last child respectively.

Also investigate ways to make the History page work without causing trouble.

vixalien avatar Feb 01 '24 18:02 vixalien