I have ArrayList
of image URLs and need to show them inside recyclerview
. I don't want to use any image loading library(Picasso or Glide). I am using threadpoolexecutor for fetching images (reference from https://stuff.mit.edu/afs/sipb/project/android/docs/training/multiple-threads/communicate-ui.html ).
I have to show images in order as they are in arraylist i.e. first image in the list should take 0th position of recyclerview
and second on 1st and so on.
For example: User images (grid view) on instagram. Loading images asynchronously (in parallel) but on correct positions of RecyclerAdapter.
I think libraries have handled this thing.If someone can guide me, it would be very helpful.