{"id":13786878,"url":"https://github.com/hanks-zyh/SmallBang","last_synced_at":"2025-05-12T00:30:36.044Z","repository":{"id":58056788,"uuid":"48546591","full_name":"hanks-zyh/SmallBang","owner":"hanks-zyh","description":"  twitter like animation for any view :heartbeat:","archived":false,"fork":false,"pushed_at":"2017-11-24T05:43:51.000Z","size":6379,"stargazers_count":1001,"open_issues_count":6,"forks_count":158,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-04-19T03:07:56.127Z","etag":null,"topics":["animation","heartbeat","like-button","twitter"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/hanks-zyh.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}},"created_at":"2015-12-24T14:48:37.000Z","updated_at":"2025-02-21T23:48:12.000Z","dependencies_parsed_at":"2022-08-28T22:41:39.112Z","dependency_job_id":null,"html_url":"https://github.com/hanks-zyh/SmallBang","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/hanks-zyh%2FSmallBang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanks-zyh%2FSmallBang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanks-zyh%2FSmallBang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanks-zyh%2FSmallBang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanks-zyh","download_url":"https://codeload.github.com/hanks-zyh/SmallBang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253655746,"owners_count":21943067,"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":["animation","heartbeat","like-button","twitter"],"created_at":"2024-08-03T20:00:20.375Z","updated_at":"2025-05-12T00:30:32.878Z","avatar_url":"https://github.com/hanks-zyh.png","language":"Java","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=UGENU2RU26RUG"],"categories":["Library","Java"],"sub_categories":[],"readme":"# SmallBang\n\ntwitter like animation for any view :heartbeat:\n\n\u003cimg src=\"https://github.com/hanks-zyh/SmallBang/blob/master/screenshots/demo2.gif\" width=\"35%\" /\u003e \n\n[Demo APK](https://github.com/hanks-zyh/SmallBang/blob/master/screenshots/demo.apk?raw=true)\n\n## Usage\n\n```groovy\ndependencies {\n    implementation 'pub.hanks:smallbang:1.2.2'\n}\n```\n\n```xml\n\u003cxyz.hanks.library.bang.SmallBangView\n    android:id=\"@+id/like_heart\"\n    android:layout_width=\"56dp\"\n    android:layout_height=\"56dp\"\u003e\n\n    \u003cImageView\n        android:id=\"@+id/image\"\n        android:layout_width=\"20dp\"\n        android:layout_height=\"20dp\"\n        android:layout_gravity=\"center\"\n        android:src=\"@drawable/heart_selector\"\n        android:text=\"Hello World!\"/\u003e\n\u003c/xyz.hanks.library.bang.SmallBangView\u003e\n```\nor\n\n```xml\n\n\u003cxyz.hanks.library.bang.SmallBangView\n    android:id=\"@+id/like_text\"\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    app:circle_end_color=\"#ffbc00\"\n    app:circle_start_color=\"#fa9651\"\n    app:dots_primary_color=\"#fa9651\"\n    app:dots_secondary_color=\"#ffbc00\"\u003e\n\n    \u003cTextView\n        android:id=\"@+id/text\"\n        android:layout_width=\"50dp\"\n        android:layout_height=\"20dp\"\n        android:layout_gravity=\"center\"\n        android:gravity=\"center\"\n        android:text=\"hanks\"\n        android:textColor=\"@color/text_selector\"\n        android:textSize=\"14sp\"/\u003e\n\u003c/xyz.hanks.library.bang.SmallBangView\u003e\n```\n## Donate\n\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/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=UGENU2RU26RUG)\n \n\u003cimg src=\"https://github.com/hanks-zyh/SmallBang/blob/master/screenshots/donate.png\" width=\"50%\" /\u003e \n\n## Contact \u0026 Help\n\nPlease fell free to contact me if there is any problem when using the library.\n\n- **email**: zhangyuhan2014@gmail.com\n- **twitter**: https://twitter.com/zhangyuhan3030\n- **weibo**: http://weibo.com/hanksZyh\n- **blog**: http://hanks.pub\n\nwelcome to commit [issue](https://github.com/hanks-zyh/SmallBang/issues) \u0026 [pr](https://github.com/hanks-zyh/SmallBang/pulls)\n\n\n---\n## License\n\nThis library is licensed under the [Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).\n\nSee [`LICENSE`](LICENSE) for full of the license text.\n\n    Copyright (C) 2015 [Hanks](https://github.com/hanks-zyh)\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanks-zyh%2FSmallBang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanks-zyh%2FSmallBang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanks-zyh%2FSmallBang/lists"}