|
|
@@ -50,13 +50,19 @@ public class BookMarkListViewHolder extends BookMarkListView {
|
|
|
imageViewBookMark.setScaleType(ImageView.ScaleType.CENTER);
|
|
|
Glide.with(imageViewBookMark)
|
|
|
.asBitmap()
|
|
|
- .apply(new RequestOptions().placeholder(ResourceUtil.getDrawable(imageViewBookMark.getContext(),R.drawable.image_loading_middle)))
|
|
|
+ .apply(new RequestOptions().placeholder(ResourceUtil.getDrawable(imageViewBookMark.getContext(), R.drawable.image_loading_middle)))
|
|
|
.load(bean.getImageUrl()).into(imageViewBookMark);
|
|
|
textViewBookMarkTitle.setText(bean.getTwoLineTitle());
|
|
|
|
|
|
if (bean.getSubTitle() != null && StringUtil.isFull(bean.getSubTitle())) {
|
|
|
- textViewBookMarkSubTitle.setVisibility(View.VISIBLE);
|
|
|
- textViewBookMarkSubTitle.setText(bean.getSubTitle());
|
|
|
+ if (bean.getListItemNo().equals(bean.getItemNo())) {
|
|
|
+ textViewBookMarkSubTitle.setVisibility(View.GONE);
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ textViewBookMarkSubTitle.setVisibility(View.VISIBLE);
|
|
|
+ textViewBookMarkSubTitle.setText(bean.getSubTitle());
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
else {
|
|
|
textViewBookMarkSubTitle.setVisibility(View.GONE);
|