In this video I show you how to implement swipe to delete on a recyclerview, with an icon and background to indicated deletion and a snackbar to add the undo functionality. Recyclerview is the replacement for Android's previous ListView. Please learn to setup a basic recyclerview and adapter before proceeding with this tutorial.
Full kotlin source code is available here: [ Ссылка ]
Ещё видео!