Package 

Interface SlideToActView.OnSlideUserFailedListener


  • 
    public interface SlideToActView.OnSlideUserFailedListener
    
                        

    Event 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 Unit onSlideFailed(SlideToActView view, Boolean isOutside) Called when user failed to interact with the slider slide
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 event
        isOutside - True if user pressed outside the cursor