{"id":13428696,"url":"https://github.com/Spikeysanju/MotionToast","last_synced_at":"2025-03-16T01:32:52.746Z","repository":{"id":41282314,"uuid":"247149539","full_name":"Spikeysanju/MotionToast","owner":"Spikeysanju","description":"🌈 A Beautiful Motion Toast Library for Kotlin Android","archived":false,"fork":false,"pushed_at":"2024-04-29T18:22:23.000Z","size":437,"stargazers_count":1499,"open_issues_count":31,"forks_count":130,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-09T16:09:43.131Z","etag":null,"topics":["android-app","android-development","android-library","android-sdk","android-ui","androidkotlin","androidstudio","kotlin","kotlin-android","kotlin-library","material-design","materialdesign-library","materialdesign-ui","spikeysanju","toastlibrary"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/Spikeysanju.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":["https://www.paypal.com/paypalme2/spikeysanju"]}},"created_at":"2020-03-13T19:42:26.000Z","updated_at":"2025-02-14T19:49:31.000Z","dependencies_parsed_at":"2024-01-31T16:36:36.528Z","dependency_job_id":"db533e7d-8b11-4120-a414-606271a979b3","html_url":"https://github.com/Spikeysanju/MotionToast","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spikeysanju%2FMotionToast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spikeysanju%2FMotionToast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spikeysanju%2FMotionToast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spikeysanju%2FMotionToast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Spikeysanju","download_url":"https://codeload.github.com/Spikeysanju/MotionToast/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814905,"owners_count":20352037,"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-app","android-development","android-library","android-sdk","android-ui","androidkotlin","androidstudio","kotlin","kotlin-android","kotlin-library","material-design","materialdesign-library","materialdesign-ui","spikeysanju","toastlibrary"],"created_at":"2024-07-31T01:01:03.046Z","updated_at":"2025-03-16T01:32:52.216Z","avatar_url":"https://github.com/Spikeysanju.png","language":"Kotlin","funding_links":["https://www.paypal.com/paypalme2/spikeysanju"],"categories":[":shamrock:  **Categories**","Libraries","Library","Kotlin"],"sub_categories":[":books: Libraries"],"readme":"# Motion Toast - A Beautiful Toast Library for Android Kotlin 🤩🔥 \n\n[![platform](https://img.shields.io/badge/platform-Android-yellow.svg)](https://www.android.com)\n[![API](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=21)\n[![GitHub license](https://img.shields.io/badge/License-Apache2.0-blue.svg)](LICENSE)\n![GitHub stars](https://img.shields.io/github/stars/SpikeySanju/MotionToast?style=social)\n![GitHub forks](https://img.shields.io/github/forks/SpikeySanju/MotionToast?label=Fork\u0026style=social)\n![Repo size](https://img.shields.io/github/repo-size/SpikeySanju/MotionToast?style=social)\n![GitHub follow](https://img.shields.io/github/followers/SpikeySanju?label=Follow\u0026style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/sanjay_spikey?label=Twitter\u0026style=social)\n\n\nA Beautiful Multipurpose Motion Toast Library in Android using Kotlin 😍\n\n![GitHub Cards Preview](https://github.com/Spikeysanju/Video_templates/blob/master/Github%20Card.png)\n\n## Preview - Motion Toast 🌟 \n![gif](https://github.com/Spikeysanju/Video_templates/blob/master/Motion%20Toast.gif)\n\n## Preview - Color Motion Toast 🌈\n![gif](https://github.com/Spikeysanju/Video_templates/blob/master/Toast%20Types-5.png)\n\n## Preview - Dark Toast 🌈\n![gif](https://github.com/Spikeysanju/Video_templates/blob/master/Dark%20Toast.png)\n\n## Preview - Dark Color Toast 🌈\n![gif](https://github.com/Spikeysanju/Video_templates/blob/master/Dark%20Color%20Toast.png)\n\n\n# Types of Toast Style ❤️\n\n\n\u003ctable style=\"width:100%\"\u003e\n  \u003ctr\u003e\n    \u003cth\u003e1. Motion Toast \u003c/th\u003e\n    \u003cth\u003e2. Color Motion Toast\u003c/th\u003e \n    \u003cth\u003e3. Dark Toast \u003c/th\u003e\n    \u003cth\u003e4. Dark Color Toast\u003c/th\u003e \n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src = \"https://github.com/Spikeysanju/Video_templates/blob/master/Toast%20Types-3.png\"/\u003e\u003c/td\u003e \n    \u003ctd\u003e\u003cimg src = \"https://github.com/Spikeysanju/Video_templates/blob/master/Toast%20Types-5.png\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src = \"https://github.com/Spikeysanju/Video_templates/blob/master/Dark%20Toast.png\"/\u003e\u003c/td\u003e \n    \u003ctd\u003e\u003cimg src = \"https://github.com/Spikeysanju/Video_templates/blob/master/Dark%20Color%20Toast.png\"/\u003e\u003c/td\u003e \n   \n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## About\n\nA Beautiful Multipurpose Motion Toast Library in Android using Kotlin. \n\n## Dependency Project Level\n\nStep 1. Add the JitPack repository to your build file\n\nAdd it in your root build.gradle at the end of repositories:\n\n\n\n```\n\tallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n\n```\n\n## Dependency App Level\n\nAdd dependency in your app module\n\n```\n\tdependencies {\n\t        implementation 'com.github.Spikeysanju:MotionToast:1.4' \n\t}\n\n```\n## Five Toast Types 🖐🏼\n```\n        1. TOAST_SUCCESS\n        2. TOAST_ERROR\n        3. TOAST_WARNING\n        4. TOAST_INFO\n        5. TOAST_DELETE\n```\n\n## Toast Duration ⌛️ \n```\n        1. LONG_DURATION // 4 Seconds\n        2. SHORT_DURATION // 2 Seconds\n       \n```\n\n## Usage \n\n# Sample Code for - Motion Toast 🌟 \n\n### Success Toast\n```\n MotionToast.createToast(this,\n \t\t\"Hurray success 😍\"\n \t\t\"Upload Completed successfully!\",\n                MotionToastStyle.SUCCESS,\n                MotionToast.GRAVITY_BOTTOM,\n                MotionToast.LONG_DURATION,\n                ResourcesCompat.getFont(this,R.font.helvetica_regular))\n                \n```\n\n### Error Toast\n```\n MotionToast.createToast(this,\n \t\t    \"Failed ☹️\"\n \t\t    \"Profile Update Failed!\",\n                    MotionToastStyle.ERROR,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n```\n### Warning Toast\n```\nMotionToast.createToast(this,\"Please fill all the details!\",\n                    MotionToastStyle.WARNING,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n\n        \n```\n\n### Info Toast\n```\n       MotionToast.createToast(this,\"This is information toast!\",\n                    MotionToastStyle.INFO,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n\n```\n### Delete Toast\n```\n       MotionToast.createToast(this,\"Delete all history!\",\n                    MotionToastStyle.DELETE,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n\n```\n\n# Sample Code for - Color Motion Toast 🌈\n\n### Success Toast\n```\n MotionToast.createColorToast(this,\"Upload Completed!\",\n                MotionToastStyle.SUCCESS,\n                MotionToast.GRAVITY_BOTTOM,\n                MotionToast.LONG_DURATION,\n                ResourcesCompat.getFont(this,R.font.helvetica_regular))\n                \n```\n\n### Error Toast\n```\n MotionToast.createColorToast(this,\"Profile Update Failed!\",\n                    MotionToastStyle.ERROR,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n```\n### Warning Toast\n```\nMotionToast.createColorToast(this,\"Please fill all the details!\",\n                    MotionToastStyle.WARNING,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n\n        \n```\n\n### Info Toast\n```\n       MotionToast.createColorToast(this,\"This is information toast!\",\n                    MotionToastStyle.INFO,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n\n```\n### Delete Toast\n```\n       MotionToast.createColorToast(this,\"Delete all history!\",\n                    MotionToastStyle.DELETE,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n\n```\n\n# Sample Code for - Dark Toast 🌚🖤 \n\n### Success Toast\n```\n MotionToast.darkToast(this,\"Upload Completed!\",\n                MotionToastStyle.SUCCESS,\n                MotionToast.GRAVITY_BOTTOM,\n                MotionToast.LONG_DURATION,\n                ResourcesCompat.getFont(this,R.font.helvetica_regular))\n                \n```\n\n### Error Toast\n```\n MotionToast.darkToast(this,\"Profile Update Failed!\",\n                    MotionToastStyle.ERROR,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n```\n### Warning Toast\n```\nMotionToast.darkToast(this,\"Please fill all the details!\",\n                    MotionToastStyle.WARNING,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n\n        \n```\n\n### Info Toast\n```\n       MotionToast.darkToast(this,\"This is information toast!\",\n                    MotionToastStyle.INFO,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n\n```\n### Delete Toast\n```\n       MotionToast.darkToast(this,\"Delete all history!\",\n                    MotionToastStyle.DELETE,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n\n```\n\n# Sample Code for - Dark Color Toast 🌚🖤🌈\n\n### Success Toast\n```\n MotionToast.darkColorToast(this,\"Upload Completed!\",\n                MotionToastStyle.SUCCESS,\n                MotionToast.GRAVITY_BOTTOM,\n                MotionToast.LONG_DURATION,\n                ResourcesCompat.getFont(this,R.font.helvetica_regular))\n                \n```\n\n### Error Toast\n```\n MotionToast.darkColorToast(this,\"Profile Update Failed!\",\n                    MotionToastStyle.ERROR,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n```\n### Warning Toast\n```\nMotionToast.darkColorToast(this,\"Please fill all the details!\",\n                    MotionToastStyle.WARNING,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n\n        \n```\n\n### Info Toast\n```\n       MotionToast.darkColorToast(this,\"This is information toast!\",\n                    MotionToastStyle.INFO,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n\n```\n### Delete Toast\n```\n       MotionToast.darkColorToast(this,\"Delete all history!\",\n                    MotionToastStyle.DELETE,\n                    MotionToast.GRAVITY_BOTTOM,\n                    MotionToast.LONG_DURATION,\n                    ResourcesCompat.getFont(this,R.font.helvetica_regular))  \n\n```\n\n\n# Donation\nIf this project help you reduce time to develop, you can give me a cup of coffee :) \n\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/paypalme2/spikeysanju)\n\n\n## License\n```\n\n\n    Copyright 2020 Spikey sanju\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\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSpikeysanju%2FMotionToast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSpikeysanju%2FMotionToast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSpikeysanju%2FMotionToast/lists"}