It is necessary, that was approximately as in VKontakte.

Someone can prompt or push for implementation:

The sizes of images in width are different, as well as their number (there may be a different number in the same row), the height in a row of the image does not change.

  1. What to use to display GridView or RecyclerView images (GridLayoutManager)?

  2. How to display empty placeholder before loading the image with the appropriate size. Only one thing comes to mind. First send a collection of dimensions (width / height) and "draw" these dimensions before loading for each image, and then asynchronously output them after loading.

  3. To quickly scrolled without delay.

  4. What it is better to do: on pure Android, Universal Image Loader, Picasso.

I tried the Universal Image Loader and GridLayoutManager, but the wrap_content in RecyclerView does not work well. The Universal Image Loader is no longer updated.

1 answer 1

  • 1 RecyclerView - try to use it for any tasks with lists. I do not know in what cases you may need something other than him.
  • 2,3,4. Glide can do it all
  • Thanks for the answers, but you heard / tried about Fresco, it is relatively new - Igor Levkivskiy
  • one
    I chial materials in which Fresco was compared with Glide. The results are not in favor of the first - P. Ilyin