Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Article currentArticle = getItem(position);
ImageView image = listItemView.findViewById(R.id.article_image);
if (currentArticle != null) {
new DownloadImageTask(image).execute(currentArticle.getmImageUrl());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment