开源软件名称(OpenSource Name):Angtrim/Android-Five-Stars-Library开源软件地址(OpenSource Url):https://github.com/Angtrim/Android-Five-Stars-Library开源编程语言(OpenSource Language):Java 100.0%开源软件介绍(OpenSource Introduction):Android Five Stars LibraryAndroid Five Stars Library is a small library that helps developers add a "Rate My App" dialog to their applications. It's called "Five Stars" because the dialog has a different behaviour based on the rating given by the user. If the user gives 4 or 5 stars out of 5, the user is sent to the Google Play Store page to give an actual rating. If the user gives 3 or less stars out of 5, the user is asked to send a bug report to the developer. If "Force Mode" is activated, when the user selects 4/5 stars, he is immediately redirected to the Play Store, without asking for a confirm. :D PreviewInstallationTo use the library, first include it your project using Gradle
How to useTo use this library just add this snippet in the The Example: FiveStarsDialog fiveStarsDialog = new FiveStarsDialog(this,"angelo.gallarello@gmail.com");
fiveStarsDialog.setRateText("Your custom text")
.setTitle("Your custom title")
.setForceMode(false)
.setStarColor(Color.YELLOW)
.setUpperBound(2) // Market opened if a rating >= 2 is selected
.setNegativeReviewListener(this) // OVERRIDE mail intent for negative review
.setReviewListener(this) // Used to listen for reviews (if you want to track them )
.showAfter(0); FeaturesThe library is very simple, just note that :
Used byIf you use my library, please tell me at angelo.gallarello [at] gmail [dot] com. So I can add your app here! LicenseDo what you want with this library. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论