Open numanahmad opened 10 years ago
i am making an app that load image form URL but in my scenario i am making dynamic layout i am not defining any view in xml. here is my code. SmartImageView lstimg=(SmartImageView) new ImageView(this); lstimg.setImageUrl("http://www.pakistanimodels.pk/wp-content/uploads/2013/07/Ainy-Jaffri-Pakistani-Actress-Model-07.jpg"); img.addView(lstimg);
how can i use smart image view progmatically.?
i am making an app that load image form URL but in my scenario i am making dynamic layout i am not defining any view in xml. here is my code. SmartImageView lstimg=(SmartImageView) new ImageView(this); lstimg.setImageUrl("http://www.pakistanimodels.pk/wp-content/uploads/2013/07/Ainy-Jaffri-Pakistani-Actress-Model-07.jpg"); img.addView(lstimg);
how can i use smart image view progmatically.?