{"id":3637,"url":"https://github.com/emre1512/Noty","last_synced_at":"2025-08-03T20:33:00.229Z","repository":{"id":215156460,"uuid":"92659706","full_name":"emre1512/Noty","owner":"emre1512","description":"A simple library for creating animated warnings/dialogs/alerts for Android.","archived":false,"fork":false,"pushed_at":"2019-02-13T17:50:59.000Z","size":152,"stargazers_count":155,"open_issues_count":4,"forks_count":27,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-08-16T15:38:52.626Z","etag":null,"topics":["android","android-animation","android-dialog","dialog","material","material-design","notification","snackbar","toast","ui","warning"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emre1512.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-05-28T12:25:08.000Z","updated_at":"2024-07-03T13:57:27.000Z","dependencies_parsed_at":"2024-01-02T21:20:36.526Z","dependency_job_id":"eb3c4f0b-b5d4-4c17-b99d-ba1d576dafde","html_url":"https://github.com/emre1512/Noty","commit_stats":null,"previous_names":["emre1512/noty"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emre1512%2FNoty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emre1512%2FNoty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emre1512%2FNoty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emre1512%2FNoty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emre1512","download_url":"https://codeload.github.com/emre1512/Noty/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228567009,"owners_count":17937983,"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":["android","android-animation","android-dialog","dialog","material","material-design","notification","snackbar","toast","ui","warning"],"created_at":"2024-01-05T20:16:47.130Z","updated_at":"2024-12-07T05:30:47.537Z","avatar_url":"https://github.com/emre1512.png","language":"Java","funding_links":[],"categories":["Libraries"],"sub_categories":["Chat \u0026 Messaging"],"readme":"# Noty\n\n\u003cimg src=\"http://i.imgur.com/DSXMqLs.png\" width=\"128\" height=\"128\"\u003e\n\n![https://github.com/emre1512/Noty](https://img.shields.io/badge/platform-Android-green.svg?style=flat-square)\n![https://github.com/emre1512/Noty](https://img.shields.io/badge/API-16+-orange.svg?style=flat-square)\n![https://www.apache.org/licenses/LICENSE-2.0](https://img.shields.io/badge/licence-Apache%20v2.0-blue.svg?style=flat-square)\n![https://github.com/emre1512/Noty](https://img.shields.io/badge/version-v1.0.3-ff69b4.svg?style=flat-square)\n\nA simple library for creating animated warnings/notifications for Android.\n\n## Examples\n\n| [Show me code](https://github.com/emre1512/Noty/wiki/Example-1) | [Show me code](https://github.com/emre1512/Noty/wiki/Example-2) | [Show me code](https://github.com/emre1512/Noty/wiki/Example-3) |\n| :-------------: |:-------------:| :-----------: |\n| ![](https://media.giphy.com/media/3og0ISeKMdFB8yFgd2/giphy.gif) | ![](https://media.giphy.com/media/xUA7aP21RJInulbwHu/giphy.gif) | ![](https://media.giphy.com/media/3og0Iyzt3OMbrZq920/giphy.gif) |\n\n\u003cbr/\u003e\n\n| [Show me code](https://github.com/emre1512/Noty/wiki/Example-4) | [Show me code](https://github.com/emre1512/Noty/wiki/Example-5) | [Show me code](https://github.com/emre1512/Noty/wiki/Example-6) |\n| :-------------: |:-------------:| :-----------: |\n| \u003cimg src=\"https://media.giphy.com/media/3og0IEROGpv8Y8t1GU/giphy.gif\" width=\"85%\"\u003e | \u003cimg src=\"https://media.giphy.com/media/xUA7aMFBW9TTLnZELm/giphy.gif\" width=\"85%\"\u003e | \u003cimg src=\"https://media.giphy.com/media/xUA7bk4Qp1eVzGohB6/giphy.gif\" width=\"85%\"\u003e |\n\n## Installation\n\n- Get it via gradle: ``` compile 'com.emredavarci:noty:1.0.3' ``` \n\n## Usage\n\n### Simplest\n\n```java\nNoty.init(YourActivity.this, \"Your warning message\", yourLayout, Noty.WarningStyle.SIMPLE).show();\n```\n\n### Simple with action\n\n```java\nNoty.init(YourActivity.this, \"Your warning message\", yourLayout, \n\tNoty.WarningStyle.ACTION)\n\t.setActionText(\"OK\").show();\n```\n\n### Some customization\n\n```java\nNoty.init(YourActivity.this, \"Your warning message\", yourLayout,\n        Noty.WarningStyle.ACTION)\n        .setActionText(\"OK\")\n        .setWarningBoxBgColor(\"#ff5c33\")\n        .setWarningTappedColor(\"#ff704d\")\n        .setWarningBoxPosition(Noty.WarningPos.BOTTOM)\n        .setAnimation(Noty.RevealAnim.FADE_IN, Noty.DismissAnim.BACK_TO_BOTTOM, 400,400)\n        .show();     \t\n```\n\n### Add tap listener\n\n```java\nNoty.init(YourActivity.this, \"Your warning message\", yourLayout,\n        Noty.WarningStyle.SIMPLE)\n        .setTapListener(new Noty.TapListener() {\n            @Override\n            public void onTap(Noty warning) {\n                // do something...\n            }\n        }).show();\n```\n\n### Add click listener\n\n```java\nNoty.init(YourActivity.this, \"Your warning message\", yourLayout,\n        Noty.WarningStyle.ACTION)\n        .setClickListener(new Noty.ClickListener() {\n            @Override\n            public void onClick(Noty warning) {\n                // do something...\n            }\n        }).show();\n```\n\n### Add animation listener\n\n```java\nNoty.init(YourActivity.this, \"Your warning message\", yourLayout,\n        Noty.WarningStyle.ACTION)\n        .setAnimationListener(new Noty.AnimListener() {\n            @Override\n            public void onRevealStart(Noty warning) {\n                // Start of reveal animation\n            }\n\n            @Override\n            public void onRevealEnd(Noty warning) {\n               // End of reveal animation\n            }\n\n\t    @Override\n            public void onDismissStart(Noty warning) {\n               // Start of dismiss animation\n            }\n\n            @Override\n            public void onDismissEnd(Noty warning) {\n               // End of dismiss animation\n            }\n        }).show();\n```\n\n## Detailed Documentation\n\n- Detailed documentation can be found at [Wiki](https://github.com/emre1512/Noty/wiki).\n\n## LICENSE\n\nCopyright 2017 M. Emre Davarci\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femre1512%2FNoty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femre1512%2FNoty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femre1512%2FNoty/lists"}