Downloading Image in Recyclerview
<p>I have a recycler view which has an <code>Imageview</code> in the <code>Viewholder</code>.
The Image is downloaded via <code>AsyncTask</code> in the <code>onBindViewHolder</code> in the adapter.</p>

<p>The problem is when I scroll down or up, the <code>onBindViewHolder</code> is called for recycling the view holder and the Images are downloaded again and again.
Now I understand that this is how <code>Recyclerview</code> is supposed to work.
So can anyone tell me if anything can be done to avoid downloading the Images more than once?
Or will it be better to move back to <code>ListView</code>?</p>