# iPaulPro/Android-ItemTouchHelper-Demo

Basic example of using ItemTouchHelper to add drag & drop and swipe-to-dismiss to RecyclerView.

Repository: https://github.com/iPaulPro/Android-ItemTouchHelper-Demo
Canonical: https://ross.abutalabs.com/products/android-itemtouchhelper-demo
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2022-04-13T07:12:04+00:00

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

## Adoption (not part of the score)
Stars 2515, forks 485 (observed 2026-08-28T04:06:57.643869+00:00)

## What it is
A demo application showing how to use Android's ItemTouchHelper to add drag & drop reordering and swipe-to-dismiss to RecyclerView lists. The helper classes are reusable in other projects and it accompanies a Medium article series.

## Use cases
- add drag and drop reordering to a RecyclerView list
- implement swipe-to-dismiss on list items in Android
- learn how ItemTouchHelper works with RecyclerView
- find example code for touch-driven list interactions
- reuse ItemTouchHelper callback classes in my own app

## When to choose
- you want a minimal, well-explained example of ItemTouchHelper usage
- you need reusable helper classes for drag & drop or swipe gestures in RecyclerView
- you are following the accompanying article series

## When to avoid
- you need a full-featured drag-and-drop library with advanced animations and features
- you are not using RecyclerView or Java-based Android development
- you need actively maintained code with recent updates

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: ui-components, developer-tools
- domain: android-tools, mobile-development, tutorials
- platform: -
- tags: itemtouchhelper, recyclerview, drag-and-drop, swipe-to-dismiss, demo, java, android, mobile

## Member repositories
- iPaulPro/Android-ItemTouchHelper-Demo (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:57.643869+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-30T02:26:10.296765+00:00, confidence not recorded.
  - readme: https://github.com/iPaulPro/Android-ItemTouchHelper-Demo (fetched 2026-08-28T04:06:57.643869+00:00, sha 521e360792ea)
- Data as of 2026-08-30T08:39:29.467469+00:00.
