Skip to content

Commit

Permalink
Use position passed in onBindViewHolder instead of using it from hold…
Browse files Browse the repository at this point in the history
…er.getBindingAdapterPosition
  • Loading branch information
Varun Gupta committed May 23, 2022
1 parent 9f33391 commit 8f5f9c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void onBindViewHolder(EpoxyViewHolder holder, int position, List<Object>
((AsyncInflatedView)holder.itemView).executeWhenInflated(() ->
onBindViewHolderInternal(holder, holder.getBindingAdapterPosition(), payloads));
} else {
onBindViewHolderInternal(holder, holder.getBindingAdapterPosition(), payloads);
onBindViewHolderInternal(holder, position, payloads);
}
}

Expand Down

0 comments on commit 8f5f9c2

Please sign in to comment.