{"id":21292827,"url":"https://github.com/shashank02051997/fancyfacebookbadge-android","last_synced_at":"2025-07-11T16:31:47.292Z","repository":{"id":53549806,"uuid":"118591597","full_name":"Shashank02051997/FancyFacebookBadge-Android","owner":"Shashank02051997","description":"As the name describes, this is an Android library that you can use to show reacting badges like facebook. ","archived":false,"fork":false,"pushed_at":"2022-07-29T07:30:38.000Z","size":1036,"stargazers_count":117,"open_issues_count":0,"forks_count":26,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-06T22:52:50.403Z","etag":null,"topics":["android","android-lib","android-library","badge","badge-view","badgeview","java","material-design","textview","ui","ui-design"],"latest_commit_sha":null,"homepage":"","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/Shashank02051997.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":"2018-01-23T09:58:54.000Z","updated_at":"2024-09-03T03:25:48.000Z","dependencies_parsed_at":"2022-08-26T06:22:29.303Z","dependency_job_id":null,"html_url":"https://github.com/Shashank02051997/FancyFacebookBadge-Android","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashank02051997%2FFancyFacebookBadge-Android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashank02051997%2FFancyFacebookBadge-Android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashank02051997%2FFancyFacebookBadge-Android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashank02051997%2FFancyFacebookBadge-Android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shashank02051997","download_url":"https://codeload.github.com/Shashank02051997/FancyFacebookBadge-Android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225741204,"owners_count":17516895,"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-lib","android-library","badge","badge-view","badgeview","java","material-design","textview","ui","ui-design"],"created_at":"2024-11-21T13:52:18.220Z","updated_at":"2024-11-21T13:52:18.768Z","avatar_url":"https://github.com/Shashank02051997.png","language":"Java","funding_links":["https://www.buymeacoffee.com/mXUuDW7"],"categories":[],"sub_categories":[],"readme":"# FancyFacebookBadge-Android\n[![platform](https://img.shields.io/badge/platform-Android-yellow.svg)](https://www.android.com)\n[![API](https://img.shields.io/badge/API-19%2B-brightgreen.svg?style=plastic)](https://android-arsenal.com/api?level=19)\n[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg?style=flat-square)](https://www.apache.org/licenses/LICENSE-2.0.html)\n[![](https://jitpack.io/v/Shashank02051997/FancyFacebookBadge-Android.svg)](https://jitpack.io/#Shashank02051997/FancyFacebookBadge-Android)\n\n\u003ca href=\"https://play.google.com/store/apps/details?id=com.shashank.sony.fancylibrarybyshashank\"\u003e\n    \u003cimg alt=\"Get it on Google Play\"\n        height=\"80\"\n        src=\"https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png\" /\u003e\n\u003c/a\u003e\n\n## Prerequisites\n\nAdd this in your root `build.gradle` file (**not** your module `build.gradle` file):\n\n```gradle\nallprojects {\n\trepositories {\n\t\t...\n\t\tmaven { url \"https://jitpack.io\" }\n\t}\n}\n```\n\n## Dependency\n\nAdd this to your module's `build.gradle` file (make sure the version matches the JitPack badge above):\n\n```gradle\ndependencies {\n\t...\n\timplementation 'com.github.Shashank02051997:FancyFacebookBadge-Android:1.6'\n}\n```\n# Fancy Facebook Badge\nFancy Facebook Badge library for android makes you add bades to the text or image.\n\n\u003cimg src=\"https://github.com/Shashank02051997/FancyFacebookBadge-Android/blob/master/Screenshot/20180123_151014.gif\" height=\"420\" width=\"240\"\u003e\n\n# Usage\n\nFirst of all, need add FacebookBadge to your xml layout.\n\n```xml\n\u003ccom.shashank.sony.fancyfacebookbadgelib.FacebookNotificationBadge\n        android:id=\"@+id/badge\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_alignBottom=\"@+id/imageView\"\n        android:layout_alignEnd=\"@+id/imageView\"\n        android:layout_marginBottom=\"12dp\" /\u003e\n```\n\nSecond of all, intract with code in java.\n```java\nFacebookNotificationBadge mBadge = (FacebookNotificationBadge) findViewById(R.id.badge);\nmBadge.setNumber(12); //Set your count\nmBadge.setEmoji(Emoji.HAHA); //You can also set Emoji.LIKE, Emoji.WOW etc\n//mBadge.setTextColor(Pass ur color);\n//mBadge.setText(Pass ur text);\n//mBadge.clear(); //Use to remove or clear the badge\n//mBadge.getTextColor(); //Gives u text color\n//mBadge.isAnimationEnabled(); //Gives u boolean value true or false\n//mBadge.setAnimationEnabled(boolean value); //By default it is true \n\n```\n\n\n## Screenshots\n\n**Please click the image below to enlarge.**\n\n\n\u003cimg src=\"https://github.com/Shashank02051997/FancyFacebookBadge-Android/blob/master/Screenshot/HahaSnap.png\" hspace=\"20\"\u003e\u003cimg src=\"https://github.com/Shashank02051997/FancyFacebookBadge-Android/blob/master/Screenshot/LikeSnap.png\"\u003e\n\n\u003cimg src=\"https://github.com/Shashank02051997/FancyFacebookBadge-Android/blob/master/Screenshot/AngrySnap.png\" hspace=\"20\"\u003e\u003cimg src=\"https://github.com/Shashank02051997/FancyFacebookBadge-Android/blob/master/Screenshot/LoveSnap.png\"\u003e\n\n\u003cimg src=\"https://github.com/Shashank02051997/FancyFacebookBadge-Android/blob/master/Screenshot/WowSnap.png\" hspace=\"20\"\u003e\u003cimg src=\"https://github.com/Shashank02051997/FancyFacebookBadge-Android/blob/master/Screenshot/SadSnap.png\"\u003e\n\n## Contributing\n\nPlease fork this repository and contribute back using\n[pull requests](https://github.com/Shashank02051997/FancyFacebookBadge-Android/pulls).\n\nAny contributions, large or small, major features, bug fixes, are welcomed and appreciated\nbut will be thoroughly reviewed .\n\n### Contact - Let's become friend\n- [Twitter](https://twitter.com/shashank020597)\n- [Github](https://github.com/Shashank02051997)\n- [Linkedin](https://www.linkedin.com/in/shashank-singhal-a87729b5/)\n- [Facebook](https://www.facebook.com/shashanksinghal02)\n\n## Donation\nIf this project help you reduce time to develop, you can give me a cup of coffee :) \n\n\u003ca href=\"https://www.buymeacoffee.com/mXUuDW7\" target=\"_blank\"\u003e\u003cimg src=\"https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\" \u003e\u003c/a\u003e\n\n## License\n\n* [Apache Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\n\n```\nCopyright 2018 Shashank Singhal\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://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,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashank02051997%2Ffancyfacebookbadge-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshashank02051997%2Ffancyfacebookbadge-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashank02051997%2Ffancyfacebookbadge-android/lists"}