{"id":22612321,"url":"https://github.com/utsavdotpro/spinningimageview","last_synced_at":"2025-10-09T22:46:48.353Z","repository":{"id":115297812,"uuid":"338021593","full_name":"utsavdotpro/SpinningImageView","owner":"utsavdotpro","description":"ImageView that can be spinned on function call. Use it as a onclick loader.","archived":false,"fork":false,"pushed_at":"2021-02-11T12:57:50.000Z","size":452,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T22:46:47.963Z","etag":null,"topics":["android","android-imageview","android-library","android-loader","java","ui-component"],"latest_commit_sha":null,"homepage":"","language":"Java","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/utsavdotpro.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-02-11T12:23:10.000Z","updated_at":"2023-03-27T08:29:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e2b5874-e42e-4933-ae85-b73cd23f4700","html_url":"https://github.com/utsavdotpro/SpinningImageView","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/utsavdotpro/SpinningImageView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utsavdotpro%2FSpinningImageView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utsavdotpro%2FSpinningImageView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utsavdotpro%2FSpinningImageView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utsavdotpro%2FSpinningImageView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/utsavdotpro","download_url":"https://codeload.github.com/utsavdotpro/SpinningImageView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utsavdotpro%2FSpinningImageView/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002114,"owners_count":26083307,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-imageview","android-library","android-loader","java","ui-component"],"created_at":"2024-12-08T17:12:17.337Z","updated_at":"2025-10-09T22:46:48.338Z","avatar_url":"https://github.com/utsavdotpro.png","language":"Java","readme":"[![](https://jitpack.io/v/u-barnwal/SpinningImageView.svg)](https://jitpack.io/#u-barnwal/SpinningImageView)\n# SpinningImageView\n\nImageView that can be spinned on function call. Use it as a onclick loader.\n\n## Sample\n\u003cimg  src=\"./samples/preview1.gif\"  height=\"300\"\u003e\n\n## Implementation\n**Step 1:** Add to project level build.gradle\n\n    allprojects {\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 to app level build.gradle\n\n\tdependencies {\n\t    implementation 'com.github.u-barnwal:SpinningImageView:VERSION'\n\t}\n## How to use\n**Step 1:** Create view\n\n    com.isolpro.library.spinningimageview.SpinningImageView\n      android:layout_width=\"wrap_content\"\n      android:layout_height=\"wrap_content\"\n      android:src=\"@drawable/ic_action_reload\"\n      app:siv_alwaysSpinning=\"false\"\n      app:siv_duration=\"800\"\n    /\u003e\n\n**Start spinning programmatically**\n\n    spinningImageView.spin();\n\n**Stop spinning programmatically**\n\n    spinningImageView.stop();\n\n**Auto start spinning and spin till the end**\n\n    spinningImageView.setAlwaysSpinning(true);\n\n**Change spin duration**\n\n    spinningImageView.setDuration(1000); // 1000ms = 1s\n\n## Features\n\n - Used just like default ImageView widget\n - Auto disabling/enabling spin on visibility change (to improve performance)\n - Use as smart loader\n - Light weight\n - Easy to use\n\n## Links\n - Inspiration: https://kylewbanks.com/blog/infinitely-rotating-imageview-on-android\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futsavdotpro%2Fspinningimageview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futsavdotpro%2Fspinningimageview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futsavdotpro%2Fspinningimageview/lists"}