MDCActivityIndicatorDelegate

@protocol MDCActivityIndicatorDelegate <NSObject>

Delegate protocol for the MDCActivityIndicator.

  • When stop is called, the spinner gracefully animates out using opacity and stroke width. This method is called after that fade-out animation completes.

    Declaration

    Objective-C

    - (void)activityIndicatorAnimationDidFinish:
        (nonnull MDCActivityIndicator *)activityIndicator;

    Parameters

    activityIndicator

    Caller

  • When setIndicatorMode:animated: is called the spinner animates the transition from the current mode to the new mode. This method is called after the animation completes or immediately if no animation is requested.

    Declaration

    Objective-C

    - (void)activityIndicatorModeTransitionDidFinish:
        (nonnull MDCActivityIndicator *)activityIndicator;

    Parameters

    activityIndicator

    Caller