If anyone is curious, this is how I resolved it:
https://github.com/Keeper-of-the-Keys/gpodder-sailfish/blob/episode-art-list/qml/ArtArea.qml
Op di 7 apr. 2020 om 20:19 schreef Alexey Andreyev <
yetanotherandre...@gmail.com>:
> Hello! I could be wrong, but I've probably faced BackgroundItem as
Hello! I could be wrong, but I've probably faced BackgroundItem as the
freezes reason (ListItem inherits BackgroundItem) the other day with the
Silica's ListView.
I could recommend to try fallback to Item and MouseArea from ListItem and
BackgroundItem accordingly and check is that true. Just a
Hi David,
You are absolutely correct, this is the better solution which runs at a
reasonable speed (though I expect it consumes more memory).
Thanks!
Eli
PS - so far I have never really profiled the application for memory usage
or tried to do so, does the SDK have some way of doing this?
Op di 7
Hi Eli,
I'm probably misunderstanding the situation, but can you make individual
items visible or not (visible: true/false), rather than using Loaders in
the list?
David
On 07/04/2020 11:22, E.S. Rosenberg wrote:
> Hi Andrey,
> Thanks for the suggestion, though having them as Components in the
Hi Andrey,
Thanks for the suggestion, though having them as Components in the same
file instead of external qml files does improve performance it is still a
lot slower then just having the component directly in use without a Loader.
ie:
ListItem {
(...)
ArtArea {
}
}
Of course like
wrap inside Component and set using sourceComponent property
вт, 7 апр. 2020 г. в 01:13, E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com>:
> Hi all,
> In the application I maintain (gPodder) I would like to show an element
> holding Image(s) in each ListItem, depending on whether or not
Hi all,
In the application I maintain (gPodder) I would like to show an element
holding Image(s) in each ListItem, depending on whether or not the ListItem
has a property either a component with 2 images or a component with 1 image
should be loaded (an possibly also a no image fallback).
I have