public interface UISpringLoadedInteractionBehavior
| Modifier and Type | Method and Description |
|---|---|
default void |
interactionDidFinish(UISpringLoadedInteraction interaction)
Informs the behavior that springloading for a given interaction was cancelled or activated.
|
boolean |
shouldAllowInteractionWithContext(UISpringLoadedInteraction interaction,
UISpringLoadedInteractionContext context)
Returns whether springloading should begin or continue for a given interaction.
|
default void interactionDidFinish(UISpringLoadedInteraction interaction)
interaction - The springloaded interaction object providing this information.boolean shouldAllowInteractionWithContext(UISpringLoadedInteraction interaction, UISpringLoadedInteractionContext context)
interaction - The springloaded interaction object requesting this informationcontext - An object that provides information about the current drag.