I am using Picasso to inflate image from URL to Imageview:
@Override
public void onBindViewHolder(@NonNull HeroesViewHolder holder, int position) {
Hero currentHero = heroList.get(position);
String str = String.join(",", currentHero.abilities);
holder.heroTitle.setText(currentHero.title);
holder.heroAbilities.setText(str);
Picasso.get().load(currentHero.image).resize(500, 500).into(holder.heroesImage);
}
The thing is that everything that is HTTP protocol won't show up at emulator & physical device, only the ones that are HTTPS. Instead of showing it, it just leaves a black space.
The images that are HTTP protocol are also .png extension, if that has anything to do with that.
how can I workaround this issue?