Skip to content
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.

DennyWeinberg/android-ratingbottomsheet

Repository files navigation

Android Rating Bottom Sheet

It's an Android Material Design Rating Bottom Sheet using Android Jetpack Components (2018) (androidx.* package libraries) and Android Material Design Components.

Preview

Download

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

dependencies {
  implementation 'com.github.DennyWeinberg:android-ratingbottomsheet:[VERSION/TAG]'
}

Usage

final RatingBottomSheet rbs = new RatingBottomSheet();
rbs.setRating(new Short("3"));
rbs.setOnInputConfirmedListener(new IRatingConfirmedListener() {
    @Override
    public void onInputConfirmed(final short rating) {
        rbs.dismiss();
        Toast.makeText(MainActivity.this, "Rating: " + String.valueOf(rating), Toast.LENGTH_SHORT).show();
    }
});
rbs.show(getSupportFragmentManager(), null);

Apps using this library

Want to be here? Open an issue or make a pull request.

Levipic - Photo Gallery & Map
Photo Map - Photo and Video Gallery

About

Android Material Rating Bottom Sheet

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages