Drag Select Recyclerview Versions Save

👇 Easy Google Photos style multi-selection for RecyclerViews, powered by Kotlin and AndroidX.

2.4.0

5 years ago
  1. Raise minSdk to 19.
  2. Fix a bug where drag selection remains active after raising your finger. See #34.
  3. Dependency upgrades.

2.3.0

5 years ago

AndroidX 1.0 stable.

2.2.0

5 years ago

You can set a listener that is invoked when auto scroll starts or ends.

2.1.0

5 years ago
  1. Kotlin 1.2.70
  2. Switched from legacy Support Libraries to AndroidX. Stay on 2.0.0 if your app is stuck with the former.
  3. Fix behavior of setIsActive when passing false for the first parameter.
  4. Add a selection mode configuration option. RANGE is the default behavior, PATH is a new behavior option.

2.0.0

5 years ago
  1. Updated dependencies, target API 28.
  2. Converted the whole project to Kotlin.
  3. You no longer need a custom RecyclerView or adapter. Everything is handled with a simple item touch listener and receiver interface.

Check out the README and sample!

1.0.0

6 years ago

Got rid the included adapter class, now you just use DragSelectRecyclerView with a plain RecyclerView.Adapter which implements an interface.

See the README and sample project for more details.

0.4.0

7 years ago
  1. Updated Gradle and Gradle plugin
  2. Google libs 25.0.0
  3. Target SDK 25
  4. selectAll() method

0.3.6

7 years ago

Updated target SDK, Google libs, Gradle, Gradle plugin, etc.

0.3.5

8 years ago

Updated Google libs.

0.3.4

8 years ago
  1. restoreInstanceState and saveInstanceState for DragSelectRecyclerViewAdapter now accept an optional key parameter, so you can save and restore states for multiple adapter instances in the same Activity or Fragment.
  2. Added two attributes, dsrv_autoScrollHotspot_offsetTop and dsrv_autoScrollHotspot_offsetBottom, which can be used to adjust space between the top and bottom of the RecyclerView and the auto scroll hotspots.