-
public interface SlideToActView.OnSlideUserFailedListenerEvent handler for the user failure with the Widget. You can subscribe to this event to get notified when the user is wrongly interacting with the widget to eventually educate it:
The user clicked outside of the cursor
The user slided but left when the cursor was back to zero
You can use this listener to show a Toast or other messages.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonSlideFailed(SlideToActView view, Boolean isOutside)Called when user failed to interact with the slider slide -
-
Method Detail
-
onSlideFailed
abstract Unit onSlideFailed(SlideToActView view, Boolean isOutside)
Called when user failed to interact with the slider slide
- Parameters:
view- The SlideToActView who created the eventisOutside- True if user pressed outside the cursor
-
-
-
-