updateDelegate method

void updateDelegate (ScrollActivityDelegate value)

Updates the activity's link to the ScrollActivityDelegate.

This should only be called when an activity is being moved from a defunct (or about-to-be defunct) ScrollActivityDelegate object to a new one.

Implementation

void updateDelegate(ScrollActivityDelegate value) {
  assert(_delegate != value);
  _delegate = value;
}