Popularity
1.7
Growing
Activity
0.0
Stable
26
5
9

Code Quality Rank: L5
Programming language: Java

Rating Request alternatives and similar packages

Based on the "RatingView Widget" category

Do you think we are missing an alternative of Rating Request or a related project?

Add another 'RatingView Widget' Package

README

Rating Request Download


RatingRequest library is a simple android dialog for request rating and review.

Usage


Add below line in app build.gradle

dependencies {
    compile 'com.iamhabib:rating-request:1.0.1'
}

Code snippets


Easy way to show the dialog:

RatingRequest.with(this)
                .scheduleAfter(7) // invoke when later button click, default 5 days
                .agreeButtonText("Sure!")
                .laterButtonSeletor(R.drawable.button_accept)
                .laterButtonText("Later")
                .doneButtonText("Already Done")
                .backgroundResource(R.color.colorPrimary)
                .message("Are you enjoying our app?\n Please give us a review")
                .listener(new RatingRequest.ClickListener() {
                    @Override
                    public void onAgreeButtonClick() {

                    }

                    @Override
                    public void onDoneButtonClick() {
                        Toast.makeText(getApplicationContext(), "Done", Toast.LENGTH_LONG).show();
                    }

                    @Override
                    public void onLaterButtonClick() {

                    }
                })
                .cancelable(false) // default true
                .delay(10 * 1000) // after 10 second dialog will be shown, default 1000 milliseconds
                .register();

Screenshot


Screenshot_20161101-001334.png

License

Copyright 2016 Habibur Rahman

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.


*Note that all licence references and agreements mentioned in the Rating Request README section above are relevant to that project's source code only.