Hi, I have a few questions on this package. #45
Replies: 3 comments 3 replies
-
Hi @intercretasyo, thanks for reaching out!
It might happen that the same item is selected multiple times in a row, when using
There is no control, as in widget, provided by this package to spin using a button. As there are arbitrary ways of starting a spin, providing these kind of widgets is out of scope of this package. An example of how to start spinning with a button can be found in the demo app. If you want to disable touch input on the wheel, please refer to this section of the docs.
The selected item is not supposed to be retrieved, since you are telling the widget, which item is selected using the |
Beta Was this translation helpful? Give feedback.
-
Hi, thank you so much. Sorry for may late reply. For my 1st and 2nd question, it is now working as per my expectation. But for the 3rd, which is to get the selected value once it stops spinning, I can't get it to work. I tried to print the |
Beta Was this translation helpful? Give feedback.
-
Hi, I am using your example here: I saw that this code, gives me the randomize value. I have added my own variable to use as a storage. Then store the roll value in myInt. But when I print it here, it is showing only the first roll. Succeeding roll shows the initial value. Please help to explain why is it that randomize value cannot be used in onAnimationEnd. Thanks! |
Beta Was this translation helpful? Give feedback.
-
First of all, thanks for this package but I have some few questions.
Beta Was this translation helpful? Give feedback.
All reactions