logo
logo
Sign in

Add Android Swipe to delete using Swiperoo Adapter

avatar
Geek On Java
Add Android Swipe to delete using Swiperoo Adapter

In my previous article we discuss about a library which gives you swipe to dismiss dialog and this article is well written by Ponglang from Thailand.

And today we discuss about Android swipe to delete feature using Swiperoo Adapter which is an extendable adapter which provides swipe-to-delete feature on your customized row item.

Installation of Android Swipe to delete library

In the app folder you will find a working example of the library

You need to do 3 things to make the library works:

Pay attention to the Factory class, you need to return an instance of your ViewHolder (Factory pattern)

collect
0
avatar
Geek On Java
guide
Zupyak is the world’s largest content marketing community, with over 400 000 members and 3 million articles. Explore and get your content discovered.
Read more