# getActivity/Toaster

Android 吐司框架，专治 Toast 各种疑难杂症

Repository: https://github.com/getActivity/Toaster
Canonical: https://ross.abutalabs.com/products/toaster
Language: Java
License: Apache-2.0
License Family: permissive
Topics: toast, toastutils, toast-application, xtoast, android-toast, dtoast, toasty, support-toast, super-toast, toast-notifications, android11, android
Last push: 2026-04-10T02:23:23+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 76, release rhythm 66, longevity 100
- inputs: {"age_days": 2908, "days_push": 146, "days_rel": 146, "gap_med": 47.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3506, forks 428 (observed 2026-08-28T04:08:07.643789+00:00)

## What it is
Toaster is an Android toast framework written in Java that fixes common Toast problems such as display failures on Android 11+ and background notification restrictions. It provides a simple API for showing, styling, and customizing toasts globally within an app.

## Use cases
- show toast notifications reliably on Android 11 and later
- display toasts from background threads or when app is in background
- customize toast layout and style globally
- show success, error, warning, or info styled toasts
- replace the default Android Toast API with a more robust alternative

## When to choose
- you need dependable toast display across Android versions including Android 11+ restrictions
- you want global custom toast styles or layouts with minimal code
- you need to show toasts from anywhere in the app, including background contexts

## When to avoid
- you are building for platforms other than Android
- you prefer Jetpack Compose-based UI messaging over view-based toasts
- you only need simple toasts and are happy with the platform Toast API

## Facets
- artifact type: library
- maturity: active
- function: ui-components, developer-tools
- domain: mobile-development, android-tools
- platform: jvm
- tags: toast, notifications, android-library, ui-utility, android

## Member repositories
- getActivity/Toaster (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:07.643789+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:35:45.547714+00:00, confidence not recorded.
  - readme: https://github.com/getActivity/Toaster (fetched 2026-08-28T04:08:07.643789+00:00, sha b3dbcd5e202d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
