I try to use Picasso
for the first time
like in the official site example:
private void setItemBgImageUsingPicasso(View convertView) {
String imageUrl = getImageUrlFromOffer(convertView);
ImageView offerImage = ((ImageView) convertView
.findViewById(R.id.offerImage));
Picasso.with(mOffersListActivity).load(imageUrl).into(offerImage);
}
but I get this error:
08-09 17:37:43.309: E/AndroidRuntime(17821): java.lang.NoClassDefFoundError: com.squareup.picasso.Picasso
08-09 17:37:43.309: E/AndroidRuntime(17821): at com.zoomer.general.ImageAdapter.setItemBgImageUsingPicasso(ImageAdapter.java:384)