# liuguangqiang/SwipeBack

SwipeBack is an android library that can finish a activity by using gesture.

Repository: https://github.com/liuguangqiang/SwipeBack
Canonical: https://ross.abutalabs.com/products/swipeback
Language: Java
License: Apache-2.0
License Family: permissive
Topics: android, gesture, swipeback, java
Last push: 2022-05-16T09:33:00+00:00

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

## Adoption (not part of the score)
Stars 1723, forks 304 (observed 2026-08-28T04:05:27.889924+00:00)

## What it is
SwipeBack is an Android library that lets users finish (close) an Activity with a swipe gesture. It provides a SwipeBackActivity base class and a SwipeBackLayout view supporting left, top, right, and bottom drag edges.

## Use cases
- add swipe-to-dismiss gesture to android activities
- implement ios-style swipe back navigation on android
- close an activity by swiping left or right
- support edge swipe gestures in listview or viewpager screens
- add swipe gesture navigation to webview activities

## When to choose
- you need gesture-based activity dismissal on android with configurable swipe directions
- you want a simple drop-in base activity or layout for swipe-back behavior

## When to avoid
- you need a maintained library with recent updates and modern android support
- you use jetpack compose or want predictive back gesture support built into modern android

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: mobile-development, android-tools
- platform: jvm
- tags: swipeback, gesture-navigation, activity-finish, android-ui, android

## Member repositories
- liuguangqiang/SwipeBack (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:27.889924+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:33:58.264251+00:00, confidence not recorded.
  - readme: https://github.com/liuguangqiang/SwipeBack (fetched 2026-08-28T04:05:27.889924+00:00, sha 2bc830e289c1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
