[SailfishDevel] Delegate creation on demand

Hendrik Borghorst hendrikborghorst at gmail.com
Sat Dec 14 21:23:21 UTC 2013


Hello folks,

I've got a problem with long lists (~25000 elements). All delegates are
created at once which causes the memory usage to explode beyond the
devices capability. 

I already tried setting "cacheBuffer: 0" in SiliciaListView but  it
doesn't change it. 

Is the something I'm doing wrong. 

You can see the actual page code here:

https://github.com/djselbeck/smpc/blob/master/pages/CurrentPlaylistPage.qml

Shouldn't the delegates be constructed on demand? It is weird because my
old n8 wasn't struggling with qml lists with this size.

greetings and congrats on getting the devices to your customers (I'm
very pleased)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131214/6e1cd453/attachment.pgp>


More information about the Devel mailing list