Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Swipe actions #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Swipe actions #21

wants to merge 2 commits into from

Conversation

ueen
Copy link

@ueen ueen commented May 19, 2021

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 added 2 commits May 18, 2021 19:16
upgrade dependencies
added onItemClickWithItem(View, ITEM)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant