Re: [SailfishDevel] Adding items to the top of ListView

2015-12-13 Thread jollailija
Uh, I meant ListModel. Shouldn't have stayed up so late last night. Thanks coderus! Cheers, jollailija -- Lähetetty Jollastani ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Adding items to the top of ListView

2015-12-13 Thread Andrey Kozhevnikov
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@lis

[SailfishDevel] Adding items to the top of ListView

2015-12-13 Thread jollailija
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 ma