|
|
@ -114,7 +114,7 @@ abstract class StatusBaseViewHolder extends RecyclerView.ViewHolder { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void setAvatar(String url, @Nullable String rebloggedUrl) { |
|
|
|
void setAvatar(String url, @Nullable String rebloggedUrl) { |
|
|
|
if (url.isEmpty()) { |
|
|
|
if (TextUtils.isEmpty(url)) { |
|
|
|
avatar.setImageResource(R.drawable.avatar_default); |
|
|
|
avatar.setImageResource(R.drawable.avatar_default); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
Picasso.with(avatar.getContext()) |
|
|
|
Picasso.with(avatar.getContext()) |
|
|
|