ListView is a component for displaying model contents. For managing
items you need to look at your model implementation. Default QML
ListModel (http://doc.qt.io/qt-5/qml-qtqml-models-listmodel.html) have
insert function.
------ Исходное сообщение ------
От: jollail...@gmail.com
Кому: devel@lists.sailfishos.org
Отправлено: 13.12.2015 16:06:21
Тема: [SailfishDevel] Adding items to the top of ListView
Hi,
Is it possible to append items straight to the top of ListView? Or do I
need to move() the last item to the top after every append?
Cheers,
jollailija
--
Lähetetty Jollastani
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org