{"id":23911947,"url":"https://github.com/bhattaraisubash/awesomedialog","last_synced_at":"2026-05-15T13:31:32.657Z","repository":{"id":267465947,"uuid":"155175504","full_name":"bhattaraisubash/AwesomeDialog","owner":"bhattaraisubash","description":"SweetAlert Version For Android","archived":false,"fork":false,"pushed_at":"2019-05-12T09:49:29.000Z","size":216,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-06T23:03:04.007Z","etag":null,"topics":["android","awesomedialog","library","sweetalertdialog"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bhattaraisubash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-29T08:15:56.000Z","updated_at":"2020-04-07T01:50:23.000Z","dependencies_parsed_at":"2024-12-10T14:47:54.593Z","dependency_job_id":null,"html_url":"https://github.com/bhattaraisubash/AwesomeDialog","commit_stats":null,"previous_names":["bhattaraisubash/awesomedialog"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/bhattaraisubash/AwesomeDialog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhattaraisubash%2FAwesomeDialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhattaraisubash%2FAwesomeDialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhattaraisubash%2FAwesomeDialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhattaraisubash%2FAwesomeDialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bhattaraisubash","download_url":"https://codeload.github.com/bhattaraisubash/AwesomeDialog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhattaraisubash%2FAwesomeDialog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33068356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["android","awesomedialog","library","sweetalertdialog"],"created_at":"2025-01-05T08:57:35.539Z","updated_at":"2026-05-15T13:31:32.639Z","avatar_url":"https://github.com/bhattaraisubash.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Attention: This is a fork of the apparently dead project https://github.com/pedant/sweet-alert-dialog/\n**The only changes made are to update it to work with materialish-progress 1.7 and the current gradle build tools.**\n\nThe original readme with minor alterations follows.  I've removed the Chinese language readme as I can only read and write English.\n\nI did not write this library, I just removed and fixed some bugs . All credit goes to pedant.\n\nAwesome Dialog\n===================\nAwesomeAlertDialog for Android, a beautiful and clever alert dialog\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Sweet%20Alert%20Dialog-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1065)\n\nInspired by JavaScript [SweetAlert](http://tristanedwards.me/sweetalert)\n\n[Demo Download](https://github.com/pedant/sweet-alert-dialog/releases/download/v1.1/sweet-alert-sample-v1.1.apk)\n\n## ScreenShot\n![image](https://github.com/pedant/sweet-alert-dialog/raw/master/change_type.gif)\n\n## Setup\nAdd it in your root build.gradle at the end of repositories:\n\n\tallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n\nStep 2. Add the dependency\n\n\tdependencies {\n\t        implementation 'com.github.bhattaraisubash:AwesomeDialog:v1.0'\n\t}\n\nStep 3. Add this to proguard-rules.pro\n\n\t-keep class np.com.bsubash.awesomedialoglibrary.Rotate3dAnimation {\n\t  public \u003cinit\u003e(...);\n\t}\n\n## Usage\n\nshow material progress\n\n    AwesomeAlertDialog pDialog = new AwesomeAlertDialog(this, AwesomeAlertDialog.PROGRESS_TYPE);\n    pDialog.getProgressHelper().setBarColor(Color.parseColor(\"#A5DC86\"));\n    pDialog.setTitleText(\"Loading\");\n    pDialog.setCancelable(false);\n    pDialog.show();\n\n![image](https://github.com/pedant/sweet-alert-dialog/raw/master/play_progress.gif)\n\nYou can customize progress bar dynamically with materialish-progress methods via **AwesomeAlertDialog.getProgressHelper()**:\n- resetCount()\n- isSpinning()\n- spin()\n- stopSpinning()\n- getProgress()\n- setProgress(float progress)\n- setInstantProgress(float progress)\n- getCircleRadius()\n- setCircleRadius(int circleRadius)\n- getBarWidth()\n- setBarWidth(int barWidth)\n- getBarColor()\n- setBarColor(int barColor)\n- getRimWidth()\n- setRimWidth(int rimWidth)\n- getRimColor()\n- setRimColor(int rimColor)\n- getSpinSpeed()\n- setSpinSpeed(float spinSpeed)\n\nthanks to the project [materialish-progress](https://github.com/pnikosis/materialish-progress) and [@croccio](https://github.com/croccio) participation.\n\nmore usages about progress, please see the sample.\n\nA basic message：\n\n    new AwesomeAlertDialog(this)\n        .setTitleText(\"Here's a message!\")\n        .show();\n\nA title with a text under：\n\n    new AwesomeAlertDialog(this)\n        .setTitleText(\"Here's a message!\")\n        .setContentText(\"It's pretty, isn't it?\")\n        .show();\n\nA error message：\n\n    new AwesomeAlertDialog(this, AwesomeAlertDialog.ERROR_TYPE)\n        .setTitleText(\"Oops...\")\n        .setContentText(\"Something went wrong!\")\n        .show();\n\nA warning message：\n\n    new AwesomeAlertDialog(this, AwesomeAlertDialog.WARNING_TYPE)\n        .setTitleText(\"Are you sure?\")\n        .setContentText(\"Won't be able to recover this file!\")\n        .setConfirmText(\"Yes,delete it!\")\n        .show();\n\nA success message：\n\n    new AwesomeAlertDialog(this, AwesomeAlertDialog.SUCCESS_TYPE)\n        .setTitleText(\"Good job!\")\n        .setContentText(\"You clicked the button!\")\n        .show();\n\nA message with a custom icon：\n\n    new AwesomeAlertDialog(this, AwesomeAlertDialog.CUSTOM_IMAGE_TYPE)\n        .setTitleText(\"Sweet!\")\n        .setContentText(\"Here's a custom image.\")\n        .setCustomImage(R.drawable.custom_img)\n        .show();\n\nBind the listener to confirm button：\n\n    new AwesomeAlertDialog(this, AwesomeAlertDialog.WARNING_TYPE)\n        .setTitleText(\"Are you sure?\")\n        .setContentText(\"Won't be able to recover this file!\")\n        .setConfirmText(\"Yes,delete it!\")\n        .setConfirmClickListener(new AwesomeAlertDialog.OnSweetClickListener() {\n            @Override\n            public void onClick(AwesomeAlertDialog sDialog) {\n                sDialog.dismissWithAnimation();\n            }\n        })\n        .show();\n\nShow the cancel button and bind listener to it：\n\n    new AwesomeAlertDialog(this, AwesomeAlertDialog.WARNING_TYPE)\n        .setTitleText(\"Are you sure?\")\n        .setContentText(\"Won't be able to recover this file!\")\n        .setCancelText(\"No,cancel plx!\")\n        .setConfirmText(\"Yes,delete it!\")\n        .showCancelButton(true)\n        .setCancelClickListener(new AwesomeAlertDialog.OnSweetClickListener() {\n            @Override\n            public void onClick(AwesomeAlertDialog sDialog) {\n                sDialog.cancel();\n            }\n        })\n        .show();\n\n**Change** the dialog style upon confirming：\n\n    new AwesomeAlertDialog(this, AwesomeAlertDialog.WARNING_TYPE)\n        .setTitleText(\"Are you sure?\")\n        .setContentText(\"Won't be able to recover this file!\")\n        .setConfirmText(\"Yes,delete it!\")\n        .setConfirmClickListener(new AwesomeAlertDialog.OnSweetClickListener() {\n            @Override\n            public void onClick(AwesomeAlertDialog sDialog) {\n                sDialog\n                    .setTitleText(\"Deleted!\")\n                    .setContentText(\"Your imaginary file has been deleted!\")\n                    .setConfirmText(\"OK\")\n                    .setConfirmClickListener(null)\n                    .changeAlertType(AwesomeAlertDialog.SUCCESS_TYPE);\n            }\n        })\n        .show();\n\n[more android tech shares: pedant.cn](http://www.pedant.cn)\n\n## License\n\n    The MIT License (MIT)\n\n    Copyright (c) 2014 Pedant(http://pedant.cn)\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in all\n    copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n    SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhattaraisubash%2Fawesomedialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhattaraisubash%2Fawesomedialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhattaraisubash%2Fawesomedialog/lists"}