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 Jul 6, 2022
1 parent 1c93907 commit 5aa0d75
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 5aa0d75

Please sign in to comment.