public override void update(Widget newWidget) { ListWheelViewport oldWidget = this.widget; base.update(newWidget); ListWheelChildDelegate newDelegate = ((ListWheelViewport)newWidget).childDelegate; ListWheelChildDelegate oldDelegate = oldWidget.childDelegate; if (newDelegate != oldDelegate && (newDelegate.GetType() != oldDelegate.GetType() || newDelegate.shouldRebuild(oldDelegate))) { this.performRebuild(); } }
public ListWheelElement(ListWheelViewport widget) : base(widget) { }