mmoamenn / LuckyWheel_Android

A custom component that displays a lucky wheel. it ⁠ features easy customize of colors, addition of items and it's very trivial to integrate in your application.
MIT License
127 stars 55 forks source link

How to add text to each item? #1

Closed eternalBlast closed 5 years ago

eternalBlast commented 7 years ago

Hello, this is a great library. It can attach image to each element in the wheel. But, how to add text to each item like +2 coins or something like that? And how to stop it like call the stop() function? Thanks in advance.

mmoamenn commented 7 years ago

Hello , First of all thank you for feedback, Adding text not covered in this version but i will work to add this feature in the next one and for stop wheel just call function --rotateWheelTo(2);-- to stop wheel at position.

Regards,

eternalBlast commented 7 years ago

Hi @mmoamenn thanks for your response. I mean stop when the wheel is spinning. So, the user tap the play and the wheel begin to spin. When the wheel is spinning the play button become the stop button. When the user tap the stop button, it slowly stop the spinning and get the prize. Thanks.

MFlisar commented 6 years ago

Added this in my pull request...

mmoamenn commented 5 years ago

kindly user the latest version