Android Picasso Gridview - Store Url Data In Integer Array?
I'm using Picasso to set a gridview in my Android app. What I wanna do is basically pressing an image in the gridview and go to the detail view. The data was populated in String ar
Solution 1:
You still need to call Picasso in the detail view and pass the URL from the adapter, not the ID.
Picasso.with(context) //
.load(ia.getItem(position)) //
.placeholder(R.drawable.placeholder) //
.error(R.drawable.error) //
.fit()
.centerCrop()//
.into(iv);
Post a Comment for "Android Picasso Gridview - Store Url Data In Integer Array?"