{"id":25433636,"url":"https://github.com/adityabavadekar/toasttypedecore","last_synced_at":"2026-04-29T17:01:32.536Z","repository":{"id":178112774,"uuid":"411102359","full_name":"AdityaBavadekar/ToastTypeDecore","owner":"AdityaBavadekar","description":"An android library for easy implementation of Toasts in Android with easy customisation.","archived":false,"fork":false,"pushed_at":"2023-07-02T16:47:48.000Z","size":378,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T05:31:50.759Z","etag":null,"topics":["android","kotlin","library","toast"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AdityaBavadekar.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-28T01:54:32.000Z","updated_at":"2023-07-08T04:29:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a6a8239-5bd9-474e-8c48-1a04c79cfccb","html_url":"https://github.com/AdityaBavadekar/ToastTypeDecore","commit_stats":null,"previous_names":["adityabavadekar/toasttypedecore"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaBavadekar%2FToastTypeDecore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaBavadekar%2FToastTypeDecore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaBavadekar%2FToastTypeDecore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaBavadekar%2FToastTypeDecore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdityaBavadekar","download_url":"https://codeload.github.com/AdityaBavadekar/ToastTypeDecore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254209859,"owners_count":22032897,"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","kotlin","library","toast"],"created_at":"2025-02-17T05:28:33.599Z","updated_at":"2026-04-29T17:01:27.507Z","avatar_url":"https://github.com/AdityaBavadekar.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e Note: This is a test project and is not up-to-date with latest android versions (v12) that have a system defined toast.\n\n# ToastTypeDecore:copyright:\n\n* _A library for easy implementation of Toasts in Android with easy customisation._\n\n##### Latest Version : [v2.1](https://github.com/AdityaBavadekar/ToastTypeDecore/releases/tag/v1.4)\n\n### Screenshots\nSuccess Toast1 | Success Toast2\n---------------- | --------------\n| \u003cimg src=\"https://github.com/AdityaBavadekar/ToastTypeDecore/blob/main/20210928_161444.jpg\" alt=\"Success Toast Demo\"/\u003e | \u003cimg src=\"https://github.com/AdityaBavadekar/ToastTypeDecore/blob/main/image.png\" alt=\"Success Toast Demo\"/\u003e |\n\n## Implementation\n- Step 1. Add the JitPack repository to your build file\n    \u003e:information_source: Add it in your root __build.gradle ( project level )__ at the end of repositories:\n```gradle\n\tallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n```\n- Step 2. Add the dependency\n```gradle\n\tdependencies {\n\t        implementation 'com.github.AdityaBavadekar:ToastTypeDecore:Tag'\n\t}\n```\n## Tag for version : [![](https://jitpack.io/v/AdityaBavadekar/ToastTypeDecore.svg)](https://jitpack.io/#AdityaBavadekar/ToastTypeDecore) \nVersion 1.4\n\n## Usage :black_nib: :\n##### _@Params: and Syntax_\n```kotlin\n//Syntax\nToastTypeDecore().makeSuccessToast(\n        context: Context,\n        contentText: String,\n        successImageDrawableResId: Int?,\n        cornerRadius: Float?,\n        backgroundColor: Int?,\n        longLengthenedToast : Boolean\n    ) \n\n```\n##### _Android Activity Usage_ :arrow_down:\n```kotlin\n//Activity usage in kotlin\n...\nclass MainActivity : AppCompatActivity() {\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        setContentView(R.layout.activity_main)\n\n        ToastTypeDecore().makeSuccessToast(\n        this,//Context\n        \"Hello, World! from ToastTypeDecore\",//String main message\n        null,//Int? drawable for success, `null` for Tick  default\n        null,//Float? toast corner radius, `null` for default\n        Color.WHITE,//Int? background color `null` for default\n        false//Boolean, `false`:short time toast, `true`:long time toast\n      ) \n    }\n}\n\n```\n\n## License\n\n```\n\nCopyright 2021 Aditya Bavadekar.\n\nLicensed to the Apache Software Foundation (ASF) under one or more contributor\nlicense agreements. See the NOTICE file distributed with this work for\nadditional information regarding copyright ownership. The ASF licenses this\nfile to you under the Apache License, Version 2.0 (the \"License\"); you may not\nuse this file except in compliance with the License. You may obtain a copy of\nthe License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\nWARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\nLicense for the specific language governing permissions and limitations under\nthe License.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityabavadekar%2Ftoasttypedecore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadityabavadekar%2Ftoasttypedecore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityabavadekar%2Ftoasttypedecore/lists"}