Reputation: 21
I tried Picaso library, but it is not showing gif image. I am getting images with json. I tried following code :-
Picasso.with(mContext).load( stationWithState.station.getLogo()).transform(transformation).placeholder(R.drawable.ic_launcher).into(viewHolder.stationImageView[i]);
please help me ?
Upvotes: 1
Views: 595
Reputation: 19
ImageView iv= (ImageView) findViewById(R.id.iv);
GlideApp.with(this).load("your_url").into(iv);
Use Glide
Upvotes: 0
Reputation: 21
Ok after doing google I found out a library which will help in showing gif image from json link
Ion.with(viewHolder.stationImageView[i])
.placeholder(R.drawable.ic_launcher)
.error(R.drawable.ic_launcher)
.fitCenter()
.load(stationWithState.station.getLogo());
Upvotes: 1