1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-04 01:42:44 +00:00

Resolved remaining issues with ApiModel

This commit is contained in:
Chris Josten 2021-03-29 17:10:25 +02:00
parent 89fef6d7f4
commit 9abee12658
8 changed files with 79 additions and 66 deletions

View file

@ -19,25 +19,11 @@ Page {
}
}
Text {
id: simpleLog
text: "Simple log: \n"
}
J.ItemModel {
id: mediaLibraryModel
loader: J.UsersViewLoader {
id: mediaLibraryModelLoader
apiClient: ApiClient
onStatusChanged: {
}
}
}
J.ModelStatusTest {
status: J.ModelStatus.Uninitialized
onStatusChanged: {
simpleLog.text += new Date().toString() + ": " + status + "\n"
}
}
@ -58,7 +44,7 @@ Page {
limit: 16
}*/
Label {
text: model.name
text: model.name ? model.name : "<Model without name>"
}
ListView {