# afollestad/drag-select-recyclerview

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

Repository: https://github.com/afollestad/drag-select-recyclerview
Canonical: https://ross.abutalabs.com/products/drag-select-recyclerview
Homepage: https://af.codes
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: android, recyclerview, drag-selection, google-photos, ui, ux, selection, androidx
Archived: true
Last push: 2022-04-13T08:49:33+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3966, "days_push": 1603, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1983, forks 232 (observed 2026-08-28T04:06:01.987639+00:00)

## What it is
A Kotlin/AndroidX library that adds Google Photos-style drag multi-selection to Android RecyclerViews via a DragSelectTouchListener. It handles touch interception and auto-scroll hotspots, with RANGE and PATH selection modes.

## Use cases
- implement google photos style multi-selection in a list
- drag to select multiple items in a recyclerview
- long press then drag to select items on android
- auto-scroll while selecting items in a long list
- add range or path selection mode to an android list

## When to choose
- you have an Android RecyclerView and want drag-based multi-selection
- you want built-in auto-scroll hotspots during selection
- you prefer a small Kotlin/AndroidX library over building touch handling yourself

## When to avoid
- your app is not Android or does not use RecyclerView
- you need selection in non-list views or Compose without interop
- you need a library under active development - releases have been infrequent since 2022

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, mobile-framework
- domain: mobile-development, frontend, android-tools
- platform: jvm
- tags: recyclerview, drag-selection, multi-select, androidx, google-photos-style, touch-listener, android, mobile

## Member repositories
- afollestad/drag-select-recyclerview (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:01.987639+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:03:25.335754+00:00, confidence not recorded.
  - readme: https://github.com/afollestad/drag-select-recyclerview (fetched 2026-08-28T04:06:01.987639+00:00, sha 8fb7490e2458)
  - homepage: https://af.codes (fetched 2026-08-29T10:43:07.192490+00:00, sha 4d8394e5e530)
- Data as of 2026-08-30T08:39:29.467469+00:00.
