This is source code from the article about creating swipe menu with RecyclerView without any external libraries.
https://medium.com/@fanfatal/android-swipe-menu-with-recyclerview-8f28a235ff28