Skip to content

Commit

Permalink
fix:CollectArticleFragment collect is no checked
Browse files Browse the repository at this point in the history
  • Loading branch information
youlookwhat committed Mar 21, 2019
1 parent 460b37a commit a5f363b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ private class ViewHolder extends BaseRecyclerViewHolder<ArticlesBean, ItemWanAnd
@Override
public void onBindViewHolder(final ArticlesBean bean, final int position) {
if (bean != null) {
if (isCollectList) {
bean.setCollect(true);
}
binding.setBean(bean);
binding.setAdapter(WanAndroidAdapter.this);
if (!TextUtils.isEmpty(bean.getEnvelopePic()) && !isNoImage) {
Expand Down

0 comments on commit a5f363b

Please sign in to comment.