What am I doing wrong with these lines of code trying to load image with Picasso from DrobBox or from Imgur and no success. No error message and this is from an Adapter.
Picasso.with(_context)
.load("https://dl.dropboxusercontent.com/u/15447938/attendanceapp/guest2.JPG")
.placeholder(R.drawable.profile_icon)
.into(holder.attendantHeadshot);
or
Picasso.with(_context)
.load("http://i.imgur.com/bfU6EaG.jpg")
.placeholder(R.drawable.profile_icon)
.into(holder.attendantHeadshot);
Full onBindViewHolder of the RecyclerView.Adapter
@Override
public void onBindViewHolder(ViewHolder holder, int position) {
final Attendant selectedAttendant = mAttendantList.get(position);
holder.attendantName.setText(selectedAttendant.getName());
holder.attendantEmail.setText(selectedAttendant.getEmailAddress());
Picasso.with(_context)
.load("https://dl.dropboxusercontent.com/u/15447938/attendanceapp/guest2.JPG")
.placeholder(R.drawable.profile_icon)
.into(holder.attendantHeadshot);
if (position % 2 == 0) {
rowView.setBackgroundColor(_context.getResources().getColor(R.color.activated_color));
}
}