RateDialog

Additional

Language
Java
Version
1.0.2 (Apr 26, 2017)
Created
Apr 14, 2017
Updated
Jun 17, 2017
Owner
Marcos Calvo García (marcoscgdev)
Contributor
Marcos Calvo García (marcoscgdev)
1
Activity
Badge
Generate
Download
Source code

Show card

RateDialog  

An android library to display a rate dialog in an easy way.


Releases:

Current release: 1.0.2.

You can see all the library releases here.


Screenshots


Features

  • Roboto font
  • Multilanguage
  • Easy configuration
  • Fully material designed

Language

RateDialog currently supports the following languages:

  • English (default)
  • Spanish
  • German
  • French
  • Italian
  • Dutch
  • Portuguese
  • Brazilian
  • Russian

Translate this library into your language here.


Usage:

Adding the depencency

Add this to your root build.gradle file:

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

Now add the dependency to your app build.gradle file:

compile 'com.github.marcoscgdev:RateDialog:1.0.2'

Creating the dialog

Show the dialog each 3 days and each 7 launches (default config):

RateDialog.with(this);

Shows the dialog with custom config. Use 0 to get the default value:

RateDialog.with(this, 2, 0); // daysUntilPrompt, launchesUntilPrompt

Show the dialog instantly:

RateDialog.show(this);

Custom dialog strings (just override it):

<string name="rate_dialog_title">Rate %s.</string>
<string name="rate_dialog_message">If you enjoy using %s, please help us by rating it. It only takes a few seconds!</string>
<string name="rate_dialog_action_rate">Rate</string>
<string name="rate_dialog_action_never">No, thanks</string>
<string name="rate_dialog_action_later">Later</string>
<string name="rate_dialog_thank_you">Thank you!</string>

See the sample project to clarify any queries you may have.


License

Copyright 2017 Marcos Calvo García

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Support on Beerpay

Hey dude! Help me out for a couple of 🍻!