How it can be done? Image downloading on pure threads.

Here is the final result of our work
our API version of image downloader
we added executor service to our image downloader
image downloading and then converting it to bitmap
we added width and height (which we later will take from image view) to scale bitmap
our first version image downloading runnable
first build of our image download
we are using internal view handler to process loaded bitmap
we added ConcurrentHashMap to save loaded bitmaps
we added cache as ConcurrentHashMap to save already loaded bitmaps
final result

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store