Now, in my app, each placeholder has size, that was set in xml and after image was downloaded it resizes ImageView
height with horrible visual effect.
How can I get image size, that is downloading and should be displayed in
ImageView
, to make the same placeholder size like in Facebook application live feed? Maybe I should include image ratio for each link in json file that is downloading from server, or Fresco
, Glide
or Picasso
has some tricks to acheive this?