Skip to content

Conversation

harsu-ag
Copy link

Added an interface SwipeEnabled. It can be used to enable or disable swipe.
I have kept the previoussetSwipeEnabled(boolean ...) although if SwipeEnabled is set, the result in setSwipeEnabled(boolean ...) is ignored.

Added an implementation of how to use this interface in RecyclerViewAdapter

Apart from that I have also added a few upgrades to Gradle to run the project in latest Android Studio.

Not changed anything else.

@joaolisboa
Copy link

joaolisboa commented May 18, 2017

Any chance on getting this merged? I could really use this but I'm not sure about having to maintain a version just for this even though the changes don't seem too big.

edit: nevermind, I added a SwipeLayout.setSwipeEnabled in fillValues so when changes occur it'll check if swipeEnabled is true or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants