1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-01 08:52:45 +00:00

Implement nextUp endpoint and UI

* [UI] Added: The next up section now actually loads items
This commit is contained in:
Chris Josten 2020-10-10 16:26:08 +02:00
parent d3a7c17586
commit d6a1f431b4
3 changed files with 22 additions and 0 deletions

View file

@ -87,6 +87,20 @@ Page {
MoreSection {
text: qsTr("Next up")
clickable: false
busy: showNextUpModel.status == ApiModel.Loading
Loader {
width: parent.width
sourceComponent: carrouselView
property alias itemModel: showNextUpModel
property string collectionType: "series"
ShowNextUpModel {
id: showNextUpModel
apiClient: ApiClient
limit: 12
}
}
}
UserViewModel {
@ -174,6 +188,7 @@ Page {
_modelsLoaded = true;
mediaLibraryModel.reload()
userResumeModel.reload()
showNextUpModel.reload()
}
}