timroes / EnhancedListView

[DEPRECATED] An Android ListView with enhanced functionality (e.g. Swipe To Dismiss or Undo)
Other
463 stars 147 forks source link

"OnShouldSwipeCallback" to control item swiping state #19

Closed MarcoLizza closed 10 years ago

MarcoLizza commented 10 years ago

Hello, Tim.

I've been using your library for some time and, finding it very useful, I've extended it a bit to suit my needs.

More precisely, I've added a new callback interface ("OnShouldSwipeCallback") to control the swiping state of the single listview items. This is useful when you'd like to enable/disable the swiping os single items basing on some conditions (e.g. the last item can't be swiped or a listivew heading).

Hope you'll find it useful as well and worth merging. :)

MarcoLizza commented 10 years ago

Glad to see it was merged! :)

On Sat, Jan 18, 2014 at 6:19 PM, Tim Roes notifications@github.com wrote:

Merged #19 https://github.com/timroes/EnhancedListView/pull/19.

— Reply to this email directly or view it on GitHubhttps://github.com/timroes/EnhancedListView/pull/19 .

timroes commented 10 years ago

Thanks for your contribution. Sorry it took so long, but I will use my usual lame excuse: too less spare time :/