[SailfishDevel] Adding items to the top of ListView
Andrey Kozhevnikov
coderusinbox at gmail.com
Sun Dec 13 11:10:37 UTC 2015
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.
------ Исходное сообщение ------
От: jollailija at gmail.com
Кому: devel at 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-unsubscribe at lists.sailfishos.org
More information about the Devel
mailing list