10-04-2012 11:39 AM
Very nice indeed!
Thanks!
01-03-2013 03:52 AM
If I try to use this on my project, I get two error:
undefined reference to `WebImageView::staticMetaObject'
undefined reference to `vtable for WebImageView'
can't find the way to solve them.
01-03-2013 04:01 AM
01-04-2013 03:08 PM - edited 01-04-2013 03:11 PM
I've expanded on the sample provided by dridk and have implemented caching of images as well. Feel free to check it out at https://github.com/RileyGB/BlackBerry10-Samples/tr
01-05-2013 07:24 AM
Hey, I tried using your version since I need image caching, but I'm running into an issue.
I have a Grid listview of images that can get fairly long. When the list is loading, if the user quickly scrolls through the list before it's loaded the images, it seems that some urls in the cache are associated with the wrong image.
When I quickly scroll through the listview without caching, the device will load images, and then reload new images as it redownloads, and tries to catch up with the users quick scrolling. So with caching, it seems to be saving the first loaded image with the url of that list item.
Any suggestions?
01-05-2013 02:04 PM - edited 01-05-2013 02:09 PM
Hi Scott,
Do the URL's change dynamically in your list? I've tried to reproduce this issue myself, but haven't been able to. I would suggest running a debugging session on WebImageView::setUrl and have some sort of comparison function to check for mismatches.
I may try implementing caching in the https://github.com/blackberry/Cascades-Samples/tre
01-05-2013 03:14 PM
01-06-2013 12:08 PM
01-06-2013 01:40 PM
Use QNetworkDiskCache instead....
and in setUrl(), add resetImage()
01-07-2013 06:40 PM
Thanks for the suggestions and input guys, I've updated my sample at https://github.com/RileyGB/BlackBerry10-Samples/tr