I am trying to display image from changing url in my code to image view. How can I convert my resource id for image view in layout to ImageView object. there is no findViewById in app widgets and RemoteViews has setImageViewResource but it accepts drawables only and not the id's in layout xml. Guys, please please help..
ImageView logoView = new ImageView();
logoView.setImageResource(R.id.merchant_image);//this is error as this id is not in drawable but in layout.
Please please guide..