Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
update sample
Browse files Browse the repository at this point in the history
  • Loading branch information
shuhart committed Feb 5, 2018
1 parent fd68682 commit b547b14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ HoverItemDecoration itemDecoration = new HoverItemDecoration(
super.attachToRecyclerView(recyclerView);
addOnDropListener(new OnDroppedListener() {
@Override
public void onDroppedOn(RecyclerView.ViewHolder target) {
public void onDroppedOn(RecyclerView.ViewHolder viewHolder, RecyclerView.ViewHolder target) {
Toast.makeText(
MainActivity.this,
"Dropped on position " + target.getAdapterPosition(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void attachToRecyclerView(@Nullable RecyclerView recyclerView) {
super.attachToRecyclerView(recyclerView);
addOnDropListener(new OnDroppedListener() {
@Override
public void onDroppedOn(RecyclerView.ViewHolder target) {
public void onDroppedOn(RecyclerView.ViewHolder viewHolder, RecyclerView.ViewHolder target) {
Toast.makeText(
MainActivity.this,
"Dropped on position " + target.getAdapterPosition(),
Expand Down

0 comments on commit b547b14

Please sign in to comment.