Skip to content

Commit

Permalink
1. fix CymChad#1535
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenCoder committed Sep 16, 2017
1 parent 679131f commit 68cc05f
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -87,7 +87,10 @@ public BaseViewHolder(final View view) {
}

private int getClickPosition() {
return getLayoutPosition() - adapter.getHeaderLayoutCount();
if (getLayoutPosition()>=adapter.getHeaderLayoutCount()){
return getLayoutPosition() - adapter.getHeaderLayoutCount();
}
return 0;
}

public HashSet<Integer> getItemChildLongClickViewIds() {
Expand Down

0 comments on commit 68cc05f

Please sign in to comment.