Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pknotfound authored Oct 24, 2020
1 parent 7ee031e commit bd0f200
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ In a notes app, if you wish to delete the note from your database, after it is s
All the optional parameters are null, and thus the simplest implementation is,

SwipeToDeleteKt.addSwipeToDelete(recyclerView, null, null, null, null);

## Kotlin Implementation
recyclerView.addSwipeToDelete()

The optional parameters can be provided if needed.

[![rec-2020-10-24_14.43.59.gif](https://s8.gifyu.com/images/rec-2020-10-24_14.43.59.gif)](https://gifyu.com/image/8Fpk)
Expand Down

0 comments on commit bd0f200

Please sign in to comment.