The android library show dialog rate on app and on Google Play Store
Support from SDK version 14 onwards
JitPack:
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 {
compile 'com.github.hu2di:RateDialog:1.0.4'
}
Add in your activity to show dialog rate
new MyRate(context,
new RateListener() {
@Override
public void oneStar() {
}
@Override
public void twoStars() {
}
@Override
public void threeStars() {
}
@Override
public void fourStars() {
}
@Override
public void fiveStars() {
}
},
R.mipmap.ic_launcher)
.show();
Change language dialog rate
new MyRate(context,
new RateListener() {
@Override
public void oneStar() {
}
@Override
public void twoStars() {
}
@Override
public void threeStars() {
}
@Override
public void fourStars() {
}
@Override
public void fiveStars() {
}
},
"Comment aimeriez-vous cette application?",
R.mipmap.ic_launcher)
.show();
- Created by HuyHung Dinh
- GitHub: https://github.com/hu2di
- Email: [email protected]
- Donate: paypal.me/hungdh