# rubensousa/GravitySnapHelper

A SnapHelper that snaps a RecyclerView to an edge.

Repository: https://github.com/rubensousa/GravitySnapHelper
Canonical: https://ross.abutalabs.com/products/gravitysnaphelper
Language: Java
License: Apache-2.0
License Family: permissive
Topics: recyclerview, snapping, android
Last push: 2026-03-01T00:06:05+00:00

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

## Adoption (not part of the score)
Stars 4982, forks 616 (observed 2026-08-28T04:09:04.207762+00:00)

## What it is
An Android library providing a SnapHelper that snaps a RecyclerView's items to a chosen edge or center, with a ready-made GravitySnapRecyclerView widget. It supports fling distance limits, scroll speed tuning, padding snapping, and RTL layouts.

## Use cases
- snap RecyclerView items to the start edge
- center the current item in a horizontal carousel
- limit fling distance in a RecyclerView list
- change scroll speed of a snapping RecyclerView
- snap list items accounting for padding
- build a paging-style horizontal list on Android

## When to choose
- you need edge or center snapping for Android RecyclerViews
- you want fling and scroll speed customization out of the box
- you need RTL support for snapped lists

## When to avoid
- you are not using RecyclerView
- you use Jetpack Compose instead of the View system
- you need snapping behavior beyond edges and center

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, animation
- domain: mobile-development, android-tools
- platform: -
- tags: recyclerview, snapping, android-ui, java, kotlin-friendly, android

## Member repositories
- rubensousa/GravitySnapHelper (main) score 65

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:04.207762+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-29T18:17:41.684677+00:00, confidence not recorded.
  - readme: https://github.com/rubensousa/GravitySnapHelper (fetched 2026-08-28T04:09:04.207762+00:00, sha 956a76e46348)
- Data as of 2026-08-30T08:39:29.467469+00:00.
