I want to create an Custom wheel or slot machine implementation.
I need to know how will implement the following behaviours as well. The needs are
Once the user tries to scroll it will check the threshold and do scroll only if the threshold is higher than a configured threshold.
The items scroll cyclic, in a sense that, after the lastitem the wheel show the first item and so on. If there is only one item, then the wheel should fill with the single item.
Once the view is scrolled all the touch are disabled till the wheel ends.
The wheel should scroll for a specific provided time (to calculate the gift from back end and determine which item should be at the centre of the view.
When we set an item to be selected with setSelected() or setSelection() methods like in kankan wheel demo (Android wheel), the wheel should gradually decelerates to the specified position rather than immediatley stops the wheel to the that position.