It's an Android Material Design Rating Bottom Sheet using Android Jetpack Components (2018) (androidx.* package libraries) and Android Material Design Components.
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.DennyWeinberg:android-ratingbottomsheet:[VERSION/TAG]'
}
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);
Want to be here? Open an issue
or make a pull request
.
Levipic - Photo Gallery & Map | |
Photo Map - Photo and Video Gallery |