Open AlexHedley opened 7 years ago
Should carouselCurrentItemIndexDidChange be called when you Add/Delete an item?
carouselCurrentItemIndexDidChange
I've got a supplementary view that is displaying information about the currently selected item When you scroll this updates.
If I delete an item this method isn't called.
[self didScroll]; is being called but then _previousItemIndex equals currentItemIndex so the delegate is never called.
[self didScroll];
_previousItemIndex
currentItemIndex
if (_previousItemIndex != self.currentItemIndex) { [self pushAnimationState:YES]; [_delegate carouselCurrentItemIndexDidChange:self]; [self popAnimationState]; }
Should
carouselCurrentItemIndexDidChange
be called when you Add/Delete an item?I've got a supplementary view that is displaying information about the currently selected item When you scroll this updates.
If I delete an item this method isn't called.
[self didScroll];
is being called but then_previousItemIndex
equalscurrentItemIndex
so the delegate is never called.