Skip to content

Modern Rate Us Dialog for AndroidX compatible with API 15 to 29 and support different screen sizes

License

Notifications You must be signed in to change notification settings

HmimssaSoufiane/RateUsAlertDialog

Repository files navigation

RateUsAlertDialog

Modern Rate Us Dialog this project based on guy-4444 his Project use the same logic with a few lings code change and different UI.

UI

||||

Usage

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Step 2. Add the dependency

	dependencies {
	        implementation 'com.github.HmimssaSoufiane:RateUsAlertDialog:2.0.0'
		}

Step 3 : call it where do you want inside your code.

  SmartRate.Rate(MainActivity.this
                        , "Please Rate us !" // title - optional
                        , "How many stars we deserve ?" // sub title - optional
                        , "Continue" // OK button text - optional
                        , "Please take a moment and rate us on Google Play"
                        , "Click here"
                        , "Later" // later button text - optional
                        , "No Thanks" // stop asking button text - optional
                        , "Cancel" // button Cancel button text in the next dialog - optional
                        , "Thanks for the feedback" // thanks message to low star users - optional
                        , Color.parseColor("#000000") // dialog color
                        , 3  	 // how many stars to display the google play go dialog - optional
                        , 0 	 // time between calls (unit: Hours) - default is 6 days
                        , 0	 // Time to wait until you start asking for the first time (unit: Hours) - default is 3 days
                );

for more details about the algorithmes workflows check the base Project its contains a the Logigramme.

About

Modern Rate Us Dialog for AndroidX compatible with API 15 to 29 and support different screen sizes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages