Skip to content

Commit

Permalink
Merge pull request #2126 from AllenCoder/master
Browse files Browse the repository at this point in the history
1 add new api closeLoadAnimation
  • Loading branch information
AllenCoder authored Apr 9, 2018
2 parents 9237ca9 + 9aa3d2b commit 7fa4b85
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1565,6 +1565,12 @@ public void openLoadAnimation(BaseAnimation animation) {
public void openLoadAnimation() {
this.mOpenAnimationEnable = true;
}
/**
* To close the animation when loading
*/
public void closeLoadAnimation() {
this.mOpenAnimationEnable = false;
}

/**
* {@link #addAnimation(RecyclerView.ViewHolder)}
Expand Down

0 comments on commit 7fa4b85

Please sign in to comment.