I\'m trying to use picasso library to be able to load url to imageView, but I\'m not able to get the context to use the picasso library correctly.
context
First add a global variable
Context mContext;
Then change your constructor to this
public FeedAdapter(Context context, List myDataset) { mContext = context; mDataset = myDataset; }
The pass your context when creating the adapter.
FeedAdapter myAdapter = new FeedAdapter(this,myDataset);