Skip to content

Commit

Permalink
Merge pull request #2074 from AllenCoder/master
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenCoder authored Mar 21, 2018
2 parents 2965c40 + 9b80684 commit c8e1c68
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,14 @@ public void setDuration(int duration) {
mDuration = duration;
}


/**
* If you have added headeview, the notification view refreshes.
* Do not need to care about the number of headview, only need to pass in the position of the final view
* @param position
*/
public final void refreshNotifyItemChanged(int position) {
notifyItemChanged(position + getHeaderLayoutCount());
}
/**
* Same as QuickAdapter#QuickAdapter(Context,int) but with
* some initialization data.
Expand Down

0 comments on commit c8e1c68

Please sign in to comment.