slush icon indicating copy to clipboard operation
slush copied to clipboard

Swipe actions

Open ueen opened this issue 3 years ago • 0 comments

added swipeActions, use like this:

.setSwipeActions(SlushSwipeActions<SimpleItem>()
                .setLeft(SlushSwipeActions.Properties(icon = R.drawable.ic_left, color = getColor(R.color.blue), text = "Left"), 
                    object : SlushSwipeActions.SwipeAction<SimpleItem> {
                    override fun onSwipe(position: Int, item: ITEM) {
                        TODO("Not yet implemented")
                    }
                }))

ueen avatar May 19 '21 13:05 ueen