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-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.
01-05-2013 02:04 PM - edited 01-05-2013 02:09 PM
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-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