taltstidl / Swipeable-RecyclerView

A library that provides an easy and customizable way to implement a swipe to dismiss pattern with RecyclerView.
Apache License 2.0
87 stars 17 forks source link

Change SwipeBehaviour(for left or right) after recyclerview.setAdapter #22

Open myaaghubi opened 6 years ago

myaaghubi commented 6 years ago

Hi, is it possible on this library?

taltstidl commented 6 years ago

Sorry for the late response. I'm not sure I understand your intentions. The SwipeConfiguration for a specific position is queried when the onBindViewHolder() method is called, thus it can change over the lifetime of the RecyclerView. If you want to change the behavior of an item that is already displayed however, this is not possible. Also, just a heads up: I'm no longer actively maintaining this library, but if you want to submit a pull request you can still do so and I'll accept it.