muzika
muzika copied to clipboard
[perf] Ensure correct usage of `ListView`
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.