How can I update data of ListView when the model is raw pointer object #916
-
Hi there, Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
araraloren
Apr 9, 2024
Replies: 1 comment
-
Finally, I realize I should use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
araraloren
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Finally, I realize I should use
FileListModel
instance directly in the ListView, not access throughfileServer.filesModel
which return a pointer.And now the code is working as expected.