{"id":19625972,"url":"https://github.com/leoando/android11-toast-samples","last_synced_at":"2025-02-26T20:12:39.767Z","repository":{"id":102995317,"uuid":"392773565","full_name":"LeoAndo/android11-toast-samples","owner":"LeoAndo","description":"Sample for Toast (target Android 11)","archived":false,"fork":false,"pushed_at":"2022-01-25T16:04:32.000Z","size":258,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-09T12:38:45.681Z","etag":null,"topics":["android","android-compose","android-java","android-kotlin","jetpack-compose","toast"],"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/LeoAndo.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":"2021-08-04T17:23:07.000Z","updated_at":"2022-03-18T14:17:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea4c0ecb-5b57-46bf-8ab9-15f46fb9c3d4","html_url":"https://github.com/LeoAndo/android11-toast-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoAndo%2Fandroid11-toast-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoAndo%2Fandroid11-toast-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoAndo%2Fandroid11-toast-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoAndo%2Fandroid11-toast-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeoAndo","download_url":"https://codeload.github.com/LeoAndo/android11-toast-samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240926397,"owners_count":19879737,"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-compose","android-java","android-kotlin","jetpack-compose","toast"],"created_at":"2024-11-11T11:44:21.550Z","updated_at":"2025-02-26T20:12:39.741Z","avatar_url":"https://github.com/LeoAndo.png","language":"Kotlin","readme":"# Project Overview\n\nThis is a project for investigating the Toast API.\n\n[日本語版_README](https://github.com/LeoAndo/android-toast-samples/blob/main/readme/README_JP.md)\n\n# development enveroment\n\u003cimg width=\"686\" alt=\"127751156-0638bd97-e532-43e9-be12-e758a7118141\" src=\"https://user-images.githubusercontent.com/16476224/128230885-30d23c7f-5714-4590-9592-ec3f733b39e0.png\"\u003e\n\n# Conclusion (alternative)\nToast uses a Only  [makeText](https://developer.android.com/reference/kotlin/android/widget/Toast?hl=ja#maketext).\u003cbr\u003e\nor Use [Snackbar](https://developer.android.com/reference/com/google/android/material/snackbar/Snackbar), which can be displayed only when the app is in the foreground.\n\n# refs\n\n## [Toast-specification-changes-OS:11](https://developer.android.com/about/versions/11/behavior-changes-11?hl=ja#toasts)\n\n## Toast-specification-changes-OS:12\n- can put up to 2 lines of text message in Toast. \u003cbr\u003e\n  - https://youtu.be/D2cU_itNDAI?t=714\n\n- Limited the number of Toasts that can be displayed.\n  -  https://youtu.be/D2cU_itNDAI?t=727\n\n# Capture (Android View)\n\n| Pixel 4 OS10 | Pixel 4 OS11 |\n|:---|:---:|\n| \u003cimg src=\"https://user-images.githubusercontent.com/16476224/117284945-5f325080-aea2-11eb-8278-c68feb8765a6.gif\" width=320 /\u003e | \u003cimg src=\"https://user-images.githubusercontent.com/16476224/117284926-58a3d900-aea2-11eb-9179-1294d8b03caf.gif\" width=320 /\u003e |\n\n# Capture (Compose)\n\n| Pixel 4 OS: 8 | Pixel 4 OS: 12 |\n|:---|:---:|\n| \u003cimg src=\"https://user-images.githubusercontent.com/16476224/151012930-1a1b1253-a715-4a35-abee-cc08a73c9b8a.gif\" width=320 /\u003e | \u003cimg src=\"https://user-images.githubusercontent.com/16476224/151012648-6a99b81d-0cd2-4bf4-9d6c-b05ab34a4ad6.gif\" width=320 /\u003e |\n\n# For Compose\nhttps://github.com/LeoAndo/android-toast-samples/tree/main/ToastComposeSample\n\n# For Kotlin code\nhttps://github.com/LeoAndo/android-toast-samples/tree/main/ToastKotlinSample\n\n# For Java code\nhttps://github.com/LeoAndo/android-toast-samples/tree/main/ToastJavaSample\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoando%2Fandroid11-toast-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleoando%2Fandroid11-toast-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoando%2Fandroid11-toast-samples/lists"}