Interface UISpringLoadedInteractionEffect


  • public interface UISpringLoadedInteractionEffect
    The interaction effect of a `UISpringLoadedInteraction` object must adopt the `UISpringLoadedInteractionEffect` protocol. It is responsible for styling the interaction view according to the current springloading state. API-Since: 11.0
    • Method Detail

      • interactionDidChangeWithContext

        void interactionDidChangeWithContext​(@NotNull
                                             @NotNull UISpringLoadedInteraction interaction,
                                             @NotNull
                                             @NotNull UISpringLoadedInteractionContext context)
        Informs the effect that the springloading state changed.
        Parameters:
        interaction - The springloaded interaction providing this information.
        context - An object that provides information about the current springloading state.