B
B
BitNeBolt2020-04-20 16:22:38
Android
BitNeBolt, 2020-04-20 16:22:38

How to speed up image loading in ImageView?

There is a RecyclerView in which the items contain images. The paths to them are in the database and are loaded when the fragment is run. If you load an image from the drawable folder, then the loading is fast, as well as collecting data from the database, but if you load images along the paths, then it is slow.

How to speed up the download? Would putting images in the application folder or cache help?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Pavlovsky, 2020-04-20
@BitNeBolt

To date, there are more than enough solutions to the problem.
Take advantage of ready-made solutions based on:
Picasso
Glide
Coil
UIL - here the loading flow guide and the threshold for entering the homemade version are described in great detail

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question