|
|
@@ -6,6 +6,7 @@ import android.widget.ImageView;
|
|
|
import android.widget.TextView;
|
|
|
|
|
|
import com.bumptech.glide.Glide;
|
|
|
+import com.bumptech.glide.request.RequestOptions;
|
|
|
|
|
|
import kr.co.zumo.app.R;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.BookmarkBean;
|
|
|
@@ -41,9 +42,11 @@ public class BookMarkListViewHolder extends BookMarkListView {
|
|
|
this.index = index;
|
|
|
|
|
|
if (null != bean) {
|
|
|
-
|
|
|
+ imageViewBookMark.setScaleType(ImageView.ScaleType.CENTER);
|
|
|
Glide.with(imageViewBookMark)
|
|
|
- .asBitmap().load(bean.getImageUrl()).into(imageViewBookMark);
|
|
|
+ .asBitmap()
|
|
|
+ .apply(new RequestOptions().placeholder(R.drawable.image_loading_small))
|
|
|
+ .load(bean.getImageUrl()).into(imageViewBookMark);
|
|
|
textViewBookMarkTitle.setText(bean.getTwoLineTitle());
|
|
|
checkBoxLike.setChecked(bean.isLiked());
|
|
|
checkBoxBookMark.setChecked(bean.isBookmarked());
|