I am making a widget similar to that of YouTube and default Weather/News one. I have a view flipper in which I add layouts dynamically (which contains an ImageView and a TextView) using:
remoteViews.addView(R.id.viewFlipper, itemViews);
The problem is that I need to load images from a URL in that layout. What is the best way to do this ?
I have a Lazy List loader but that does not work on RemoteViews and even after modification I think it is not correct to update the widget for every image which might drain the battery too fast.
Thanks in advance.