{"id":13848867,"url":"https://github.com/jenzz/Android-UndoBar","last_synced_at":"2025-07-12T13:33:01.179Z","repository":{"id":13818827,"uuid":"16515299","full_name":"jenzz/Android-UndoBar","owner":"jenzz","description":"[DEPRECATED] An implementation of Android's Undo Bar as seen in Google's Gmail app.","archived":true,"fork":false,"pushed_at":"2016-05-14T13:51:02.000Z","size":856,"stargazers_count":581,"open_issues_count":2,"forks_count":95,"subscribers_count":26,"default_branch":"master","last_synced_at":"2024-07-01T10:58:46.023Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jenzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-04T15:09:20.000Z","updated_at":"2023-12-05T07:52:32.000Z","dependencies_parsed_at":"2022-08-28T10:41:19.808Z","dependency_job_id":null,"html_url":"https://github.com/jenzz/Android-UndoBar","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenzz%2FAndroid-UndoBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenzz%2FAndroid-UndoBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenzz%2FAndroid-UndoBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenzz%2FAndroid-UndoBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jenzz","download_url":"https://codeload.github.com/jenzz/Android-UndoBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213949841,"owners_count":15661680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T19:01:00.010Z","updated_at":"2024-08-04T19:03:31.768Z","avatar_url":"https://github.com/jenzz.png","language":"Java","funding_links":[],"categories":["Java","Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"DEPRECATED\n==========\nAndroid-UndoBar is deprecated. No more development will be taking place.\n\nUse Google's [Snackbar](https://www.google.com/design/spec/components/snackbars-toasts.html) instead.\n\nAndroid - UndoBar\n==============\nAs seen in Google's [Gmail](https://play.google.com/store/apps/details?id=com.google.android.gm) app.\n\n* Simple Builder pattern\n* Includes [three styles](https://github.com/jenzz/Android-UndoBar/blob/develop/library/src/main/java/com/jensdriller/libs/undobar/UndoBar.java#L24-50) (incl. Material Design [Snackbar](http://www.google.com/design/spec/components/snackbars-toasts.html))\n* Supports **API Level \u003e= 8**\n(using [nineoldandroids](http://nineoldandroids.com/))\n* **I18N** (about ~100 languages)\n\nScreenshots\n-----------\n* pre KitKat\n\n![alt text](https://raw.github.com/jenzz/Android-UndoBar/master/assets/Screenshot1.png \"Undo Bar\")\n![alt text](https://raw.github.com/jenzz/Android-UndoBar/master/assets/Screenshot2.png \"Undo Bar Pressed\")\n\n* KitKat\n\n![alt text](https://raw.github.com/jenzz/Android-UndoBar/master/assets/Screenshot3.png \"Undo Bar KitKat\")\n![alt text](https://raw.github.com/jenzz/Android-UndoBar/master/assets/Screenshot4.png \"Undo Bar KitKat Pressed\")\n\n* Lollipop and later\n\n![alt text](https://raw.github.com/jenzz/Android-UndoBar/master/assets/Screenshot5.png \"Undo Bar Lollipop\")\n![alt text](https://raw.github.com/jenzz/Android-UndoBar/master/assets/Screenshot6.png \"Undo Bar Lollipop Pressed\")\n\nUsage\n-----\n* It's as simple as:\n\n```java\nnew UndoBar.Builder(this)//\n  .setMessage(\"X items deleted.\")//\n  .setListener(this)//\n  .show();\n```\n\n* You can also **explicitly** use one of the styles shown above. This is useful, for example, if you want to show a **consistent Material Design style** across all API levels. By default, it uses the style of the device's current API level. Here's an example:\n\n```java\nnew UndoBar.Builder(this)//\n  .setMessage(\"X items deleted.\")//\n  .setListener(this)//\n  .setStyle(UndoBar.Style.LOLLIPOP)//\n  .show();\n```\n\nExample\n-------\nCheck out the [sample project](https://github.com/jenzz/Android-UndoBar/tree/master/sample) for an example implementation.\n\nDownload\n--------\n\nGrab it via Gradle:\n\nFor **API Level \u003e= 15**:\n\n```groovy\ncompile 'com.github.jenzz.undobar:library:1.3:api15Release@aar'\n```\n\nFor **API Level \u003c 15** (includes [nineoldandroids](http://nineoldandroids.com/)):\n\n```groovy\ncompile 'com.github.jenzz.undobar:library:1.3:api8Release@aar'\n```\n\nStill using Eclipse? Check out the [master_eclipse](https://github.com/jenzz/Android-UndoBar/tree/master_eclipse) branch and import it as a library project.\u003cbr /\u003e\nNote that the Eclipse implementation is [v1.1](https://github.com/jenzz/Android-UndoBar/releases/tag/v1.1) only and won't receive any future updates.\n\nLicense\n-------\nThis project is licensed under the [MIT License](https://raw.githubusercontent.com/jenzz/Android-UndoBar/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenzz%2FAndroid-UndoBar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjenzz%2FAndroid-UndoBar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenzz%2FAndroid-UndoBar/lists"}