# mcxtzhang/AnimShopButton

A shopping cart button with a telescopic displacement rotation animation ...一个带伸缩位移旋转动画的购物车按钮

Repository: https://github.com/mcxtzhang/AnimShopButton
Canonical: https://ross.abutalabs.com/products/animshopbutton
Homepage: http://blog.csdn.net/zxt0601/article/details/54235736
Language: Java
License: Apache-2.0
License Family: permissive
Topics: shopping-cart-button, animation, ele
Last push: 2017-11-18T14:53:53+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": 3535, "days_push": 3210, "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 1289, forks 180 (observed 2026-08-28T04:04:15.293715+00:00)

## What it is
An Android custom View library that renders an Ele.me-style add-to-cart button with telescopic, displacement, and rotation animations between plus/minus and quantity states. It is a pure custom View (not a ViewGroup), works inside RecyclerView with view recycling and layout manager switching, and is distributed via JitPack.

## Use cases
- add an animated quantity stepper to my Android shopping cart screen
- implement an Ele.me-style add-to-cart button in an Android app
- plus/minus counter button with rotation and slide animation for e-commerce listings
- animated cart control that works inside RecyclerView items
- customizable add/remove button colors and max count via XML attributes

## When to choose
- Building an Android food-delivery or e-commerce UI that needs a polished animated add-to-cart quantity button
- Each item in a RecyclerView needs its own add/remove counter with animations that survive view recycling
- You want a lightweight drop-in View configured through XML attributes rather than a full cart framework

## When to avoid
- You target platforms other than Android (iOS, web, desktop)
- You need a actively maintained dependency; the project has had no releases since 2017
- You need complete shopping cart or checkout logic - this only provides the button, business logic and API calls are on you

## Facets
- artifact type: library
- maturity: abandoned
- function: animation, ui-components
- domain: mobile-development, e-commerce
- platform: -
- tags: android, custom-view, shopping-cart, add-to-cart-button, quantity-stepper, eleme-clone, jitpack, recyclerview, mobile

## Member repositories
- mcxtzhang/AnimShopButton (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:15.293715+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-30T04:55:45.417550+00:00, confidence not recorded.
  - readme: https://github.com/mcxtzhang/AnimShopButton (fetched 2026-08-28T04:04:15.293715+00:00, sha 91ba9986ba11)
- Data as of 2026-08-30T08:39:29.467469+00:00.
