sujithkanna / SmileyRating

SmileyRating is a simple rating bar for android. It displays animated smileys as rating icon.
Apache License 2.0
1.08k stars 183 forks source link

Default No Selected Smile #10

Closed NaveedALi closed 7 years ago

NaveedALi commented 7 years ago

I want Rating bar to have no selected rating in the start.. let me know if rating bar has this functionality

sujithkanna commented 7 years ago

Currenty the functionality is not there, But will make it sooner. Thank you :)

kewal07 commented 7 years ago

Definitely require this. Great ratings bar. Thanks

vitusya commented 7 years ago

+1

sujithkanna commented 7 years ago

SmileyRating has been updated, Now by default, the rating will be set to NONE. You have to tap on any snimey to select. Drag won't work if NONE selected Use this dependency

compile 'com.github.sujithkanna:smileyrating:1.6.6'

If you want to set the smiley to NONE programmatically, use one of the below methods.

mSmileRating.setSelectedSmile(SmileRating.NONE); // Without animation
mSmileRating.setSelectedSmile(SmileRating.NONE, true); // With animation

Thank you!

paulomcnally commented 7 years ago

@NaveedALi close this :)

NaveedALi commented 7 years ago

thanks man :)

dineshkanagaraj commented 7 years ago

hi sir i want to place the good smile first and terrible at last ...how to do that

sujithkanna commented 7 years ago

You cannot switch the positions of the Smileys. Maybe we will introduce that option in future. Thank you!