Skip to content

Commit

Permalink
Merge pull request #1988 from AllenCoder/master
Browse files Browse the repository at this point in the history
1.fix #1983
  • Loading branch information
AllenCoder authored Feb 1, 2018
2 parents a71cb5e + 765731a commit 3ce3f7c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@ public void convert(BaseViewHolder holder) {
}

private void visibleLoading(BaseViewHolder holder, boolean visible) {
holder.setVisible(getLoadingViewId(), visible);
holder.setGone(getLoadingViewId(), visible);
}

private void visibleLoadFail(BaseViewHolder holder, boolean visible) {
holder.setVisible(getLoadFailViewId(), visible);
holder.setGone(getLoadFailViewId(), visible);
}

private void visibleLoadEnd(BaseViewHolder holder, boolean visible) {
final int loadEndViewId = getLoadEndViewId();
if (loadEndViewId != 0) {
holder.setVisible(loadEndViewId, visible);
holder.setGone(loadEndViewId, visible);
}
}

Expand Down

0 comments on commit 3ce3f7c

Please sign in to comment.