I am creating a widget similar to the YouTube widget and the default Weather / News. I have a flipper in which I dynamically add layouts (which contains ImageView and TextView) using:
remoteViews.addView(R.id.viewFlipper, itemViews);
The problem is that I need to load images from the url in this layout. What is the best way to do this?
I have a Lazy List bootloader, but this does not work in RemoteView and even after modification. I think it’s wrong to update the widget for every image that can drain the battery too quickly.
Thanks in advance.
source
share