[Solved] Setting images for widget with many imageviews
I have a homescreen widget with some imageviews. Updating the images does not work reliably.
This took me some time to find out what's the problem so I could create a test project. If you run the test project (at least on my device) the images are not displayed in the widget. In the unfiltered log I can see the message "!!! FAILED BINDER TRANSACTION !!!"
If I update just one image it works. If I call rv.UpdateWidget after setting the image it works better but still some images won't display. When the problem occurs even the Panel1_Click event does not fire anymore.
Any ideas?
I have a homescreen widget with some imageviews. Updating the images does not work reliably.
This took me some time to find out what's the problem so I could create a test project. If you run the test project (at least on my device) the images are not displayed in the widget. In the unfiltered log I can see the message "!!! FAILED BINDER TRANSACTION !!!"
If I update just one image it works. If I call rv.UpdateWidget after setting the image it works better but still some images won't display. When the problem occurs even the Panel1_Click event does not fire anymore.
Any ideas?
Attachments
Last edited: