From 73a4f3a60e230757fb336f7faddce83056f04d0f Mon Sep 17 00:00:00 2001 From: Unaisul Hadi Date: Fri, 19 Aug 2022 11:54:12 +0530 Subject: [PATCH] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 48855eb..9a8ba5e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

EmojiRatingBar

-[![Kotlin Version](https://img.shields.io/badge/Kotlin-v1.5.10-blue.svg)](https://kotlinlang.org) [![Platform](https://img.shields.io/badge/Platform-Android-green.svg?style=flat)](https://www.android.com/) [![API](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=21) +[![Kotlin Version](https://img.shields.io/badge/Kotlin-v1.7.10-blue.svg)](https://kotlinlang.org) [![Platform](https://img.shields.io/badge/Platform-Android-green.svg?style=flat)](https://www.android.com/) [![API](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=21) [![](https://jitpack.io/v/unaisulhadi/emojiratingbar.svg)](https://jitpack.io/#unaisulhadi/emojiratingbar) [![Android Arsenal]( https://img.shields.io/badge/Android%20Arsenal-Emoji%20Rating%20Bar-green.svg?style=flat )]( https://android-arsenal.com/details/1/8293 )
@@ -107,6 +107,11 @@ if(emojiRatingBar.getCurrentRateStatus() == RateStatus.EMPTY){ //Handle if no rating selected } ``` +- Make rating bar read-only (Disable clicks) +```kotlin +emojiRatingBar.setReadOnly(false) +``` + - Use OnRateChangeListener for observing Rate Changes ```kotlin