# chthai64/SwipeRevealLayout

Easy, flexible and powerful Swipe Layout for Android

Repository: https://github.com/chthai64/SwipeRevealLayout
Canonical: https://ross.abutalabs.com/products/swipereveallayout
Language: Java
License: MIT
License Family: permissive
Last push: 2019-09-10T20:14:38+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": 3795, "days_push": 2549, "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 1607, forks 405 (observed 2026-08-28T04:05:10.565578+00:00)

## What it is
SwipeRevealLayout is an Android layout library that lets users swipe or slide a view to reveal a secondary layout underneath or beside it. It supports four drag edges, two drag modes, and state preservation when used with RecyclerView, ListView, or other view-binding containers.

## Use cases
- add swipe-to-delete actions to list items in a RecyclerView
- reveal hidden action buttons when swiping a row left or right
- implement swipeable cards in a ListView or GridView
- show a secondary panel when swiping up or down on a view
- keep swipe open/close states consistent across list recycling and orientation changes

## When to choose
- you need swipe-to-reveal behavior in a native Android app built with Java
- you want flexible drag edges (left, right, top, bottom) and drag modes
- you need swipe state management with RecyclerView or ListView adapters

## When to avoid
- you are building with Jetpack Compose, which has its own swipe APIs
- you need a library under active development; the latest release dates to 2019
- your minimum API level is below 9 or you target platforms other than Android

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: mobile-development, android-tools
- platform: -
- tags: swipe-layout, recyclerview, view-binding, java, swipe-to-reveal, android

## Member repositories
- chthai64/SwipeRevealLayout (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:10.565578+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:51:47.469798+00:00, confidence not recorded.
  - readme: https://github.com/chthai64/SwipeRevealLayout (fetched 2026-08-28T04:05:10.565578+00:00, sha 62162c40edf7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
