{"id":13605351,"url":"https://github.com/Chrisvin/BlurImageSwitcher","last_synced_at":"2025-04-12T05:32:51.771Z","repository":{"id":143525504,"uuid":"285935171","full_name":"Chrisvin/BlurImageSwitcher","owner":"Chrisvin","description":"Android Blurred ImageSwitcher Library","archived":false,"fork":false,"pushed_at":"2020-08-09T16:00:44.000Z","size":4045,"stargazers_count":48,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-02T19:37:12.375Z","etag":null,"topics":["android","animation","bitmap","blur","blurred","image","imageswitcher","library","transition","viewswitcher"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chrisvin.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":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-08-07T23:01:16.000Z","updated_at":"2022-07-02T03:33:44.000Z","dependencies_parsed_at":"2023-07-17T20:48:03.202Z","dependency_job_id":null,"html_url":"https://github.com/Chrisvin/BlurImageSwitcher","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chrisvin%2FBlurImageSwitcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chrisvin%2FBlurImageSwitcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chrisvin%2FBlurImageSwitcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chrisvin%2FBlurImageSwitcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chrisvin","download_url":"https://codeload.github.com/Chrisvin/BlurImageSwitcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223497748,"owners_count":17155199,"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","animation","bitmap","blur","blurred","image","imageswitcher","library","transition","viewswitcher"],"created_at":"2024-08-01T19:00:57.701Z","updated_at":"2024-11-07T10:30:28.654Z","avatar_url":"https://github.com/Chrisvin.png","language":"Kotlin","funding_links":[],"categories":["Kotlin"],"sub_categories":[],"readme":"# BlurImageSwitcher\nAndroid Blurred ImageSwitcher Library\n\n [![License: MIT](https://img.shields.io/badge/License-MIT-silver.svg)](https://opensource.org/licenses/MIT) [![](https://jitpack.io/v/Chrisvin/BlurImageSwitcher.svg)](https://jitpack.io/#Chrisvin/BlurImageSwitcher) [![API](https://img.shields.io/badge/API-21%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=21) \n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"./screenrecording/demo_app.gif\" width=\"33%\"/\u003e\n\u003c/p\u003e\n\nBlurImageSwitcher is a lightweight ImageSwitcher library to switch images with a blur animation.\n\n## Demo app\nTo run the demo project, clone the repository and run it via Android Studio. \n\u003c/br\u003e(OR)\n\u003c/br\u003eDownload the latest demo apk from [releases](https://github.com/Chrisvin/BlurImageSwitcher/releases).\n\n## Usage\n#### Set up the dependency\n1. Add the JitPack repository to your root build.gradle at the end of repositories:\n```\nallprojects {\n\trepositories {\n\t\t...\n\t\tmaven { url 'https://jitpack.io' }\n\t}\n}\n```\n2. Add the BlurImageSwitcher dependency in the build.gradle:\n```\nimplementation 'com.github.Chrisvin:BlurImageSwitcher:1.0'\n```\n\n#### Use `BlurImageSwitcher` instead of the normal `ImageSwitcher`\n```\n\u003ccom.jem.blurimageswitcher.BlurImageSwitcher\n    android:id=\"@+id/imageSwitcher\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    app:animationDuration=\"400\"\n    app:blurFactor=\"100\"\n    app:scaleFactor=\"1.2\"\u003e\n\n    \u003c!--  Add your ImageViews here  --\u003e\n\n\u003c/com.jem.blurimageswitcher.BlurImageSwitcher\u003e\n```\n\n#### Use `showNext` or `setImage` functions to transition to the new image using Blur animation.\n```\nimageSwitcher.showNext()\nimageSwitcher.setImageResource(id)\nimageSwitcher.setImageDrawable(drawable)\nimageSwitcher.setImageURI(uri)\n```\n\n## Bugs and Feedback\nFor bugs, questions and discussions please use the [Github Issues](https://github.com/Chrisvin/BlurImageSwitcher/issues).\n\n## License\n```\nMIT License\n\nCopyright (c) 2020 Chrisvin Jem\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChrisvin%2FBlurImageSwitcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FChrisvin%2FBlurImageSwitcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChrisvin%2FBlurImageSwitcher/lists"}