how can set image on imageview from URL android



use This mathod

private void loadImage(String url) {
     try {

 Bitmap bitmap = BitmapFactory.decodeStream((InputStream)new URL(url).getContent());
 imageView.setImageBitmap(bitmap);
} catch (MalformedURLException e) {
 e.printStackTrace();
} catch (IOException e) {
 e.printStackTrace();
}

}

No comments:

IRCTC Share Price Declines by 2% Despite 30% Jump in Q4 Net Profit; Board Announces Dividend of INR 2 per Share

Introduction: The share price of Indian Railway Catering and Tourism Corporation (IRCTC) experienced a decline of 2% in today's trading ...