Use lists instead of `browse`
I'm not quite sure about this yet. But it would be nice if, instead of passing a callback to browse
, that method could return a GioListModel
.
Because GioListModel
is an easily extendable interface, one can easily listen for changes in the list (such as when the API returns more items later on...). We can even go crazy and implement pagination with that by attaching methods like query_next()
or query_previous()
if the implementation supports them...
overkill: It would also be possible to add properties like loading
that will be updated by the plugin when the list has finished loading.