mirror of
https://github.com/gabehf/tempus.git
synced 2026-03-10 07:50:34 -07:00
Use getBindingAdapterPosition() instead of getAdapterPosition()
This commit is contained in:
parent
bbba68bc70
commit
41c04ab302
17 changed files with 39 additions and 41 deletions
|
|
@ -60,7 +60,7 @@ public class RecentSearchAdapter extends RecyclerView.Adapter<RecentSearchAdapte
|
|||
@Override
|
||||
public void onClick(View view) {
|
||||
if (itemClickListener != null)
|
||||
itemClickListener.onItemClick(view, getAdapterPosition());
|
||||
itemClickListener.onItemClick(view, getBindingAdapterPosition());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue